From d2ee69a867b7755616d08f074c86b6741d59a098 Mon Sep 17 00:00:00 2001 From: mathleur Date: Tue, 21 Jan 2025 10:10:19 +0100 Subject: [PATCH] fix flake8 --- polytope_server/common/datasource/polytope.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polytope_server/common/datasource/polytope.py b/polytope_server/common/datasource/polytope.py index 16c4976..6b61ed9 100644 --- a/polytope_server/common/datasource/polytope.py +++ b/polytope_server/common/datasource/polytope.py @@ -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)