AttributeError: 'Command' object has no attribute 'option_list'

There is a bug in the command in which option_list doesn't exist and thus, cannot be added to.
This commit is contained in:
Jay Turner 2019-02-03 17:59:17 +00:00 committed by GitHub
parent 5f59e9a5a7
commit d3c4d14a40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ class Command(BaseCommand):
def __init__(self):
BaseCommand.__init__(self)
self.option_list += (
self.option_list = (
make_option(
'--queues',
help='Queues to include (default: all). Use queue slugs'),