Skip to content

Commit

Permalink
Fix pylint error
Browse files Browse the repository at this point in the history
  • Loading branch information
mciszczon committed Jan 29, 2025
1 parent a7a822d commit f3d9dd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dacite/generics.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def __concretize(
if concretized != hint_args:
try:
hint.__args__ = concretized
except AttributeError as e:
raise DaciteError(f"Could not set __args__ on {hint} [original error: {e}]") from None
except AttributeError as err:
raise DaciteError(f"Could not set __args__ on {hint} [original error: {err}]") from None

return hint

Expand Down

0 comments on commit f3d9dd5

Please sign in to comment.