diff --git a/kolibri_sync_extras_plugin/sync/operations.py b/kolibri_sync_extras_plugin/sync/operations.py index fe011e5..af497c0 100644 --- a/kolibri_sync_extras_plugin/sync/operations.py +++ b/kolibri_sync_extras_plugin/sync/operations.py @@ -79,7 +79,7 @@ def _get_or_queue_job(self, context, target_stage): job = Job( call_command, - args=("sync_proceed_to"), + args=("sync_proceed_to",), kwargs={ "id": context.transfer_session.id, "target_stage": target_stage, diff --git a/test/sync/test_operations.py b/test/sync/test_operations.py index af7313f..f469268 100644 --- a/test/sync/test_operations.py +++ b/test/sync/test_operations.py @@ -69,7 +69,7 @@ def test_get_or_queue_job__new( self.assertEqual( job.kwargs, { - "args": "sync_proceed_to", + "args": ("sync_proceed_to",), "kwargs": { "id": "def456", "target_stage": "other",