Skip to content

Commit

Permalink
Remove redundant conditional in APIformatting (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 authored Sep 26, 2024
1 parent 4e54d0a commit b7e07bf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions icepyx/core/APIformatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,6 @@ def build_params(self, **kwargs) -> None:
self._fmted_keys.update({key: kwargs[key]})
except KeyError:
self._fmted_keys.update({key: kwargs["product"]})
elif key == "version":
self._fmted_keys.update({key: kwargs["version"]})
elif key in kwargs:
self._fmted_keys.update({key: kwargs[key]})
elif key in defaults:
Expand Down

0 comments on commit b7e07bf

Please sign in to comment.