Missed a spot of cleaning syntax

This commit is contained in:
Tim Möhlmann
2019-01-08 05:26:04 +02:00
parent 049ca9941f
commit 3e97e7e1c2

View File

@@ -4,7 +4,7 @@ import os
import logging as log
import sys
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"))
logger=log.getLogger(__name__)
# Bootstrap the database if clamav is running for the first time