mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-29 04:32:43 +00:00
Fix loggers linting
This commit is contained in:
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user