Skip to content

Commit e4ba393

Browse files
author
sp1rs
committed
Fixed celery#560: Type casting preload_options to list.
1 parent 7776d90 commit e4ba393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djcelery/management/commands/celery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Command(CeleryCommand):
1313
help = 'celery commands, see celery help'
1414
cc_options = CeleryCommand.options if CeleryCommand.options else []
1515
base_options = base.get_options() if base.get_options() else []
16-
preload_options = getattr(base, 'preload_options', []) or []
16+
preload_options = list(getattr(base, 'preload_options', [])) or []
1717
options = cc_options + base_options + preload_options
1818

1919
def run_from_argv(self, argv):

0 commit comments

Comments
 (0)