convert to hist to str)

This commit is contained in:
Diogo Sousa
2023-02-05 19:14:44 +00:00
parent ce7579aff3
commit 144af332ce

View File

@@ -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: