bah tu étais passé ou toi ?
This commit is contained in:
parent
15103b7905
commit
74ea8ee854
|
@ -98,7 +98,8 @@ app = Flask(__name__)
|
||||||
|
|
||||||
@app.context_processor
|
@app.context_processor
|
||||||
def inject_default_variables():
|
def inject_default_variables():
|
||||||
version = f.readline().replace("\n", '')
|
with open("/app/MsRewards-Reborn/version", "r") as f:
|
||||||
|
version = f.readline().replace("\n", '')
|
||||||
return dict(version=version)
|
return dict(version=version)
|
||||||
"""
|
"""
|
||||||
#Login stuff
|
#Login stuff
|
||||||
|
|
Loading…
Reference in New Issue