Skip to content

Commit

Permalink
fix linting issue from #136
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgy8 committed Dec 27, 2024
1 parent c91252b commit da59c8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_dramatiq/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def message_details(self, instance):
# kwargs payload when a non json encoder is in use
kwargs_encoder = DjangoDramatiqConfig.select_encoder()
if not isinstance(kwargs_encoder, JSONEncoder):
for k,v in message_dict['kwargs'].items():
message_dict['kwargs'][k] = f"<{v}>"
for k, v in message_dict["kwargs"].items():
message_dict["kwargs"][k] = f"<{v}>"

message_details = json.dumps(message_dict, indent=4)
return mark_safe("<pre>%s</pre>" % message_details)
Expand Down

0 comments on commit da59c8a

Please sign in to comment.