From 66d0c7055d6b3120af9e67445e2cdaed40dc5034 Mon Sep 17 00:00:00 2001 From: Chavithra PARANA Date: Tue, 29 Mar 2022 17:41:55 +0200 Subject: [PATCH] Loggers : fix mypy --- openbb_terminal/loggers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbb_terminal/loggers.py b/openbb_terminal/loggers.py index 03e36ec438e..d56d027b2db 100644 --- a/openbb_terminal/loggers.py +++ b/openbb_terminal/loggers.py @@ -53,8 +53,6 @@ def get_app_id() -> str: try: app_id = get_log_dir().stem - - return app_id except OSError as e: if e.errno == 30: print("Please move the application into a writable location.") @@ -66,6 +64,8 @@ def get_app_id() -> str: except Exception as e: raise e + return app_id + def get_commit_hash() -> str: """Get Commit Short Hash"""