From 0bb0bf4681a3091181acc15a94d20e32c7ef8b97 Mon Sep 17 00:00:00 2001 From: awsr <43862868+awsr@users.noreply.github.com> Date: Sat, 8 Nov 2025 14:54:34 -0800 Subject: [PATCH] Fix url formatting in update module --- modules/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/update.py b/modules/update.py index 220258add..d958f3e7d 100644 --- a/modules/update.py +++ b/modules/update.py @@ -19,7 +19,7 @@ def get_version(): origin = origin.splitlines()[0] version.branch = i.git('rev-parse --abbrev-ref HEAD') version.branch = version.branch.splitlines()[0] - version.url = origin + '/tree/' + version.branch + version.url = origin.removesuffix('.git') + '/tree/' + version.branch ver = i.git('log --pretty=format:"%h %ad" -1 --date=short') ver = ver.splitlines()[0]