From 22b30c79c05f7b810a27b7df68750b72f7e436de Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 11 Apr 2024 16:03:10 +0200 Subject: [PATCH] Zgrompf --- src/utils/resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/resources.py b/src/utils/resources.py index b433dd596..dfb6d48ed 100644 --- a/src/utils/resources.py +++ b/src/utils/resources.py @@ -155,7 +155,7 @@ class AppResource: "__YNH_DEBIAN_VERSION_ID__": debian_version_id(), "__YNH_APP_UPSTREAM_VERSION__": ( manager.wanted["version"].split("~")[0] - if manager.wanted + if "version" in manager.wanted else manager.current["version"].split("~")[0] ), }