From 3e97e7e1c208bc86d8661e105b870ec0bebb3832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20M=C3=B6hlmann?= Date: Tue, 8 Jan 2019 05:26:04 +0200 Subject: [PATCH] Missed a spot of cleaning syntax --- optional/clamav/start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optional/clamav/start.py b/optional/clamav/start.py index c08df509..56e1bcfe 100755 --- a/optional/clamav/start.py +++ b/optional/clamav/start.py @@ -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