Fix function typo

Extra parameter got added accidentally where it shouldn't have
This commit is contained in:
awsr
2025-10-31 17:05:03 -07:00
committed by GitHub
parent 88046daca0
commit 971bbe8443
+1 -1
View File
@@ -1442,7 +1442,7 @@ def get_version(force=False):
'updated': updated,
'hash': githash,
'branch': branch_name.replace('\n', ''),
'url': origin.replace('\n', '').removesuffix('.git', '') + '/tree/' + branch_name.replace('\n', '')
'url': origin.replace('\n', '').removesuffix('.git') + '/tree/' + branch_name.replace('\n', '')
}
except Exception:
version = { 'app': 'sd.next', 'version': 'unknown', 'branch': 'unknown' }