Skip to content

Commit

Permalink
fix: kwargs dict
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle McCormick <[email protected]>
  • Loading branch information
connorhaugh and kdmccormick authored Jan 9, 2024
1 parent ae92126 commit 9011839
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions xmodule/library_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,11 @@ def trigger_library_sync(self, dest_block: LibraryContentBlock, library_version:
# These race conditions lead to failed imports of library content from course import.
# See: TNL-11339, https://github.com/openedx/edx-platform/issues/34029 for more info.
library_tasks.sync_from_library.apply(
user_id=self.user_id,
dest_block_id=str(dest_block.scope_ids.usage_id),
library_version=library_version,
kwargs=dict(
user_id=self.user_id,
dest_block_id=str(dest_block.scope_ids.usage_id),
library_version=library_version,
),
)
def trigger_duplication(self, source_block: LibraryContentBlock, dest_block: LibraryContentBlock) -> None:
"""
Expand Down

0 comments on commit 9011839

Please sign in to comment.