From aafe3bf1977d08844b768444d866c0952a4236b9 Mon Sep 17 00:00:00 2001 From: Chavithra PARANA Date: Tue, 29 Mar 2022 17:34:00 +0200 Subject: [PATCH] Fix loggers linting --- 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 d56d027b2db..03e36ec438e 100644 --- a/openbb_terminal/loggers.py +++ b/openbb_terminal/loggers.py @@ -53,6 +53,8 @@ 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.") @@ -64,8 +66,6 @@ def get_app_id() -> str: except Exception as e: raise e - return app_id - def get_commit_hash() -> str: """Get Commit Short Hash"""