1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-11-23 22:04:47 +02:00

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

@@ -10,7 +10,7 @@ import sys
from tenacity import retry
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 convert(src, dst):
logger = log.getLogger("convert()")