add logging

This commit is contained in:
odysseusmax
2020-08-11 06:29:09 +00:00
parent 4d0a757c94
commit 0ae39532c3
6 changed files with 82 additions and 59 deletions

View File

@@ -31,3 +31,4 @@ except (KeyError, ValueError):
sys.exit(1)
host = os.environ.get("HOST", "0.0.0.0")
debug = bool(os.environ.get("DEBUG"))