mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-01-05 21:49:24 +01:00
Fix key errors
KeyError: 'verboseescalation' comes up if the key isn't defined.
This commit is contained in:
parent
d3c4d14a40
commit
72d35232a1
@ -48,9 +48,9 @@ class Command(BaseCommand):
|
|||||||
queue_slugs = None
|
queue_slugs = None
|
||||||
queues = []
|
queues = []
|
||||||
|
|
||||||
if options['verboseescalation']:
|
if 'verboseescalation' in options:
|
||||||
verbose = True
|
verbose = True
|
||||||
if options['queues']:
|
if 'queues' in options:
|
||||||
queue_slugs = options['queues']
|
queue_slugs = options['queues']
|
||||||
|
|
||||||
if queue_slugs is not None:
|
if queue_slugs is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user