Skip to content

Commit

Permalink
fix black error
Browse files Browse the repository at this point in the history
  • Loading branch information
mathleur committed Jan 21, 2025
1 parent 7caaa27 commit 50e0ca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polytope_server/common/datasource/polytope.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ def change_hash(self, request, config):
if request.get("dataset", None) == "extremes-dt":
if request["levtype"] == "pl" and "130" in request["param"]:
if request["param"] != "130":
raise (ValueError("""Parameter 130 is on a different grids than other parameters.
Please request it separately."""))
raise ValueError("""Parameter 130 is on a different grids than other parameters.
Please request it separately.""")
hash = "1c409f6b78e87eeaeeb4a7294c28add7"
return self.change_config_grid_hash(config, hash)

Expand Down

0 comments on commit 50e0ca6

Please sign in to comment.