Commit 062b9867 authored by Roque's avatar Roque

erp5_officejs_appstore_base: fix update alarm

parent 50b981b5
...@@ -10,7 +10,11 @@ i = 0 ...@@ -10,7 +10,11 @@ i = 0
for software_product in software_product_list: for software_product in software_product_list:
web_site = software_product.SoftwareProduct_getRelatedWebSite() web_site = software_product.SoftwareProduct_getRelatedWebSite()
version = web_site.getLayoutProperty('configuration_latest_version') version = web_site.getLayoutProperty('configuration_latest_version')
try:
web_section = web_site[version] web_section = web_site[version]
except KeyError:
# ignore new apps in development version
return
manifest_url = web_section.getLayoutProperty('configuration_webapp_manifest_url', default=None) manifest_url = web_section.getLayoutProperty('configuration_webapp_manifest_url', default=None)
# allow to have application without web manifest # allow to have application without web manifest
if manifest_url is not None: if manifest_url is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment