Skip to content

Commit

Permalink
type caste value to str to fix learningequality#3921
Browse files Browse the repository at this point in the history
  • Loading branch information
marsian83 authored Jan 25, 2023
1 parent 7bef715 commit fc57b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contentcuration/contentcuration/utils/celery/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def _fetch_match(self, task_id, **kwargs):

def _prepare_kwargs(self, kwargs):
return self.backend.encode({
key: value.hex if isinstance(value, uuid.UUID) else value
key: str(value) if isinstance(value, uuid.UUID) else value
for key, value in kwargs.items()
})

Expand Down

0 comments on commit fc57b1d

Please sign in to comment.