mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-21 23:43:11 +01:00
Remove check for info being enabled
This commit is contained in:
parent
2c9e251113
commit
bc7e189a5c
@ -99,8 +99,7 @@ def process_email(quiet: bool = False, debug_to_stdout: bool = False):
|
||||
q.email_box_last_check = timezone.now()
|
||||
q.save()
|
||||
log_msg: str = f"Queue successfully processed: {q.slug}"
|
||||
if logger.isEnabledFor(logger.INFO):
|
||||
logger.info(log_msg)
|
||||
logger.info(log_msg)
|
||||
if debug_to_stdout:
|
||||
print(log_msg)
|
||||
except Exception:
|
||||
|
Loading…
Reference in New Issue
Block a user