From 144af332ce6c6743bb8cab2fea458207fac01568 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Sun, 5 Feb 2023 19:14:44 +0000 Subject: [PATCH] convert to hist to str) --- openbb_terminal/menu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: