Cleanup syntax and fix typo

This commit is contained in:
Tim Möhlmann
2019-01-08 05:16:05 +02:00
parent 71cda7983e
commit 049ca9941f
8 changed files with 8 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ import sys
from tenacity import retry
from podop import run_server
log.basicConfig(stream=sys.stderr, level=os.environ["LOG_LEVEL"] if "LOG_LEVEL" in os.environ else "WARNING")
log.basicConfig(stream=sys.stderr, level=os.environ.get("LOG_LEVEL", "WARNING"))
def start_podop():
os.setuid(100)