Skip to content

Commit 9827a49

Browse files
committed
Small kwargs fix
1 parent eff0ab2 commit 9827a49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readthedocs/core/utils/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030

3131
def broadcast(type, task, args, kwargs=None): # pylint: disable=redefined-builtin
3232
assert type in ['web', 'app', 'build']
33+
if kwargs is None:
34+
kwargs = {}
3335
default_queue = getattr(settings, 'CELERY_DEFAULT_QUEUE', 'celery')
3436
if type in ['web', 'app']:
3537
servers = getattr(settings, "MULTIPLE_APP_SERVERS", [default_queue])

0 commit comments

Comments
 (0)