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

@@ -7,7 +7,7 @@ import sys
args = os.environ.copy()
log.basicConfig(stream=sys.stderr, level=args["LOG_LEVEL"] if "LOG_LEVEL" in args else "WARNING")
log.basicConfig(stream=sys.stderr, level=args.get("LOG_LEVEL", "WARNING"))
def convert(src, dst, args):
logger = log.getLogger("convert()")