Skip to content

Commit 6515b43

Browse files
committed
Small kwargs fix
1 parent a8b547f commit 6515b43

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
@@ -28,6 +28,8 @@
2828

2929
def broadcast(type, task, args, kwargs=None): # pylint: disable=redefined-builtin
3030
assert type in ['web', 'app', 'build']
31+
if kwargs is None:
32+
kwargs = {}
3133
default_queue = getattr(settings, 'CELERY_DEFAULT_QUEUE', 'celery')
3234
if type in ['web', 'app']:
3335
servers = getattr(settings, "MULTIPLE_APP_SERVERS", [default_queue])

0 commit comments

Comments
 (0)