Update resources.py

This commit is contained in:
Alexandre Aubin 2024-04-11 23:30:18 +02:00 committed by GitHub
parent a665f2550c
commit 5e4e59a133
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -152,7 +152,7 @@ class AppResource:
app_upstream_version = ""
if manager and manager.wanted and "version" in manager.wanted:
app_upstream_version = manager.wanted["version"].split("~")[0]
elif maanger and manager.current and "version" in manager.current:
elif manager and manager.current and "version" in manager.current:
app_upstream_version = manager.current["version"].split("~")[0]
replacements: dict[str, str] = {