add assert
This commit is contained in:
parent
6fae6dab92
commit
50149c360c
|
@ -314,7 +314,7 @@ class InstallableExtension(BaseModel):
|
||||||
if ext_zip_file.is_file():
|
if ext_zip_file.is_file():
|
||||||
os.remove(ext_zip_file)
|
os.remove(ext_zip_file)
|
||||||
try:
|
try:
|
||||||
assert self.installed_release
|
assert self.installed_release, "installed_release is none."
|
||||||
download_url(self.installed_release.archive, ext_zip_file)
|
download_url(self.installed_release.archive, ext_zip_file)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
logger.warning(ex)
|
logger.warning(ex)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user