fix: some test apps has empty string domain

This commit is contained in:
axolotle 2023-11-09 17:40:04 +01:00
parent 5e81579c31
commit d36ca72887

View file

@ -225,7 +225,7 @@ def app_info(app, full=False, upgradable=False):
rendered_notifications[name][lang] = rendered_content rendered_notifications[name][lang] = rendered_content
ret["manifest"]["notifications"][step] = rendered_notifications ret["manifest"]["notifications"][step] = rendered_notifications
ret["is_webapp"] = "domain" in settings and "path" in settings ret["is_webapp"] = "domain" in settings and settings["domain"] and "path" in settings
if ret["is_webapp"]: if ret["is_webapp"]:
ret["is_default"] = ( ret["is_default"] = (