Skip to content

Commit 32067dc

Browse files
committed
Fix Celery signature creation
1 parent adf85b3 commit 32067dc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

readthedocs/core/utils/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ def prepare_build(
106106
version = project.versions.get(slug=LATEST)
107107

108108
kwargs = {
109-
'pk': project.pk,
110109
'version_pk': version.pk,
111110
'record': record,
112111
'force': force,
@@ -140,7 +139,7 @@ def prepare_build(
140139
options['time_limit'] = int(time_limit * 1.2)
141140

142141
update_docs_task = UpdateDocsTask()
143-
return update_docs_task.si(kwargs=kwargs, **options)
142+
return update_docs_task.si(project.pk, **kwargs, **options)
144143

145144

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

0 commit comments

Comments
 (0)