Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Dec 13, 2023
1 parent a05d04f commit a30a52e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/io_hubs_addon/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a30a52e

Please sign in to comment.