fix flake8 E712 (comparison-to-bool)

This commit is contained in:
Pavol Rusnak
2023-01-30 11:46:44 +00:00
parent 9ef4bd8fb9
commit f6bd8684d3
16 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ class InstallableExtension(BaseModel):
return False
with open(config_file, "r") as json_file:
config_json = json.load(json_file)
return config_json.get("is_installed") == True
return config_json.get("is_installed") is True
def download_archive(self):
ext_zip_file = self.zip_path