Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rnovak338 committed Nov 27, 2024
1 parent 8240733 commit 188e488
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/support/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@


class DateEncoder(json.JSONEncoder):
""" Encode date types in admin logs. """
"""Encode date types in admin logs."""

def default(self, obj):
if isinstance(obj, date):
return obj.isoformat()
Expand Down

0 comments on commit 188e488

Please sign in to comment.