1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-04-13 11:40:41 +02:00

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
No known key found for this signature in database
GPG Key ID: 8677988D8072E8DE

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