mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-12 18:00:45 +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
|
||||
queues = []
|
||||
|
||||
if options['verboseescalation']:
|
||||
if 'verboseescalation' in options:
|
||||
verbose = True
|
||||
if options['queues']:
|
||||
if 'queues' in options:
|
||||
queue_slugs = options['queues']
|
||||
|
||||
if queue_slugs is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user