autoupdate app sources: some upstream repo have a trailing slash ...
This commit is contained in:
parent
519c02ba21
commit
aecc001bc4
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ class AppAutoUpdater:
|
||||||
|
|
||||||
def get_latest_version_and_asset(self, strategy, asset, infos, source):
|
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:
|
if "github" in strategy:
|
||||||
assert upstream and upstream.startswith(
|
assert upstream and upstream.startswith(
|
||||||
|
|
Loading…
Reference in a new issue