Fix 'apps' undefined

This commit is contained in:
Alexandre Aubin 2021-06-04 18:22:48 +02:00
parent b233c7c08c
commit 11a638ed70

View file

@ -484,7 +484,7 @@ def tools_upgrade(
# Actually start the upgrades
try:
app_upgrade(app=apps)
app_upgrade(app=upgradable_apps)
except Exception as e:
logger.warning("unable to upgrade apps: %s" % str(e))
logger.error(m18n.n("app_upgrade_some_app_failed"))