Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arash77 committed Jul 22, 2024
1 parent e2a9787 commit 22bf0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ def decodify(value, encoding="utf-8", encoding_error="replace", decoding="latin-

if isinstance(value, str):
return value.encode(encoding, encoding_error).decode(decoding, decoding_error)

if not isinstance(value, (str, bytes)):
value = str(value)

Expand Down

0 comments on commit 22bf0d2

Please sign in to comment.