1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Merge pull request #1760 from YunoHost/Tagadda-patch-1

Add a missing quote in autoupdate_app_sources.py
This commit is contained in:
Alexandre Aubin 2023-09-28 19:05:47 +02:00 committed by GitHub
commit 9530e16e0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -385,7 +385,7 @@ class AppAutoUpdater:
if is_main: if is_main:
def repl(m): def repl(m):
return m.group(1) + new_version + "~ynh1" return m.group(1) + new_version + "~ynh1\""
content = re.sub( content = re.sub(
r"(\s*version\s*=\s*[\"\'])([\d\.]+)(\~ynh\d+[\"\'])", repl, content r"(\s*version\s*=\s*[\"\'])([\d\.]+)(\~ynh\d+[\"\'])", repl, content