diff --git a/openbb_terminal/menu.py b/openbb_terminal/menu.py index 413540c177e..1d97b9184e4 100644 --- a/openbb_terminal/menu.py +++ b/openbb_terminal/menu.py @@ -51,7 +51,7 @@ def inputhook(inputhook_context): try: if not is_jupyter() and not is_papermill(): session: Optional[PromptSession] = PromptSession( - history=FileHistory(HIST_FILE_PATH) + history=FileHistory(str(HIST_FILE_PATH)) ) set_eventloop_with_inputhook(inputhook) else: