diff --git a/autoupdate_app_sources/autoupdate_app_sources.py b/autoupdate_app_sources/autoupdate_app_sources.py index acff3e2..429d097 100644 --- a/autoupdate_app_sources/autoupdate_app_sources.py +++ b/autoupdate_app_sources/autoupdate_app_sources.py @@ -241,7 +241,7 @@ class AppAutoUpdater: def get_latest_version_and_asset(self, strategy, asset, infos, source): - upstream = infos.get("autoupdate", {}).get("upstream", self.main_upstream) + upstream = infos.get("autoupdate", {}).get("upstream", self.main_upstream).strip("/") if "github" in strategy: assert upstream and upstream.startswith(