Tree: Fix linter issues

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri
2023-12-12 23:48:13 -05:00
parent 083df7d585
commit eb8ccb9783
3 changed files with 22 additions and 12 deletions

View File

@@ -37,7 +37,7 @@ def load_auth_keys():
api_key = auth_keys_dict["api_key"],
admin_key = auth_keys_dict["admin_key"]
)
except:
except Exception as _:
new_auth_keys = AuthKeys(
api_key = secrets.token_hex(16),
admin_key = secrets.token_hex(16)