Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

Commit c6a8b9a

Browse files
committed
fixup! [FIX] use JSON decoder class
1 parent c8742ef commit c6a8b9a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

queue_job/job.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,8 +559,8 @@ def db_record(self):
559559

560560
def _get_abs_context(self, original_ctx, ctx):
561561
try:
562-
import_ctx = json.loads(original_ctx, cls=JobDecoder)
563-
current_ctx = json.loads(ctx, cls=JobDecoder)
562+
import_ctx = json.loads(original_ctx, cls=JobDecoder, env=self.env)
563+
current_ctx = json.loads(ctx, cls=JobDecoder, env=self.env)
564564
except Exception as e:
565565
_logger.error("\n\nERROR CONTEXT JSON CONVERSION: %s\n\n" % e)
566566
return self.env.context.copy()

0 commit comments

Comments
 (0)