Skip to content

Commit

Permalink
Fix Celery signature creation
Browse files Browse the repository at this point in the history
  • Loading branch information
humitos committed May 1, 2018
1 parent c561296 commit 0daf963
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions readthedocs/core/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def prepare_build(
version = project.versions.get(slug=LATEST)

kwargs = {
'pk': project.pk,
'version_pk': version.pk,
'record': record,
'force': force,
Expand Down Expand Up @@ -140,7 +139,7 @@ def prepare_build(
options['time_limit'] = int(time_limit * 1.2)

update_docs_task = UpdateDocsTask()
return update_docs_task.si(kwargs=kwargs, **options)
return update_docs_task.si((project.pk,), kwargs, **options)


def trigger_build(project, version=None, record=True, force=False):
Expand Down

0 comments on commit 0daf963

Please sign in to comment.