Skip to content

Commit

Permalink
Remove unnecessary line in to_safe_json
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed May 30, 2024
1 parent e7cc074 commit a8a8707
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/logbook/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ def _convert(obj):
for key, value in obj.items():
if not isinstance(key, str):
key = str(key)
if not isinstance(key, str):
key = key
rv[key] = _convert(value)
return rv

Expand Down

0 comments on commit a8a8707

Please sign in to comment.