This commit is contained in:
piair
2023-06-25 10:24:03 +02:00
parent fabd826aa8
commit 5b558285af
3 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ def edit_version():
f = open("/app/MsRewards-Reborn/Flask/templates/base.html", "r")
txt = f.readlines()
f.close()
f = open("/app/MsRewards-Reborn/Flask/templates/templates/base.html", "w")
f = open("/app/MsRewards-Reborn/Flask/templates/base.html", "w")
for i in txt:
i = re.sub('<div class="footer">([^<]+)</div>', f'<div class="footer">{version}</div>', i)
f.write(i)