mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-06-13 14:34:45 +02:00
?
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user