From a30a52ee7cec3050d8452fd47491413565246125 Mon Sep 17 00:00:00 2001 From: Manuel Martin Date: Wed, 13 Dec 2023 16:04:27 +0100 Subject: [PATCH] Fix lint --- addons/io_hubs_addon/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/io_hubs_addon/api.py b/addons/io_hubs_addon/api.py index 09d9d37a..c2f1930d 100644 --- a/addons/io_hubs_addon/api.py +++ b/addons/io_hubs_addon/api.py @@ -86,7 +86,7 @@ def get_projects(endpoint, token): else: raise Exception(f'Unknown error: {error}') - if not "scenes" in json: + if "scenes" not in json: raise Exception(f'Projects request error') scenes = json.get("scenes") return scenes