Fix pycodestyle warnings

This commit is contained in:
Garret Wassermann
2020-07-20 08:10:10 -04:00
parent 46a5982184
commit fcde14b82c
2 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ def process_email(quiet=False):
if quiet:
logger.propagate = False # do not propagate to root logger that would log to console
logdir = q.logging_dir or '/var/log/helpdesk/'
try:
handler = logging.FileHandler(join(logdir, q.slug + '_get_email.log'))
logger.addHandler(handler)