Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
mathleur committed Jan 21, 2025
1 parent 953aff5 commit d2ee69a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polytope_server/common/datasource/polytope.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def change_hash(self, request, config):
hash = "1c409f6b78e87eeaeeb4a7294c28add7"
return self.change_config_grid_hash(config, hash)

if request.get("dataset", None) == None:
if request.get("dataset", None) is None:
if request["levtype"] == "ml":
hash = "9fed647cd1c77c03f66d8c74a4e0ad34"
return self.change_config_grid_hash(config, hash)
Expand Down

0 comments on commit d2ee69a

Please sign in to comment.