about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander_Kabui2024-01-03 18:23:50 +0300
committerAlexander_Kabui2024-01-03 18:23:50 +0300
commitbc943ce0413e55d9a4903aea95baad86d808bf47 (patch)
tree9d67435faf7bbd2370c46ba4eb1ef6b39abe2246
parentfa80365933d445418e775fdd6baa01328c41a987 (diff)
downloadgenenetwork3-bc943ce0413e55d9a4903aea95baad86d808bf47.tar.gz
pylint fixes
-rw-r--r--gn3/app.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gn3/app.py b/gn3/app.py
index cd78d34..3f1e6ee 100644
--- a/gn3/app.py
+++ b/gn3/app.py
@@ -2,8 +2,7 @@
 import os
 import sys
 import logging
-import getpass
-import traceback
+from pathlib import Path
 
 from typing import Dict
 from typing import Union
@@ -53,7 +52,6 @@ def create_app(config: Union[Dict, str, None] = None) -> Flask:
     if secrets_file and Path(secrets_file).exists():
         app.config.from_envvar("GN3_SECRETS")
     # END: SECRETS
-
     setup_app_handlers(app)
     # DO NOT log anything before this point
     logging.info("Guix Profile: '%s'.", os.environ.get("GUIX_PROFILE"))