From 74ea8ee8545f4720c55835c2f957448a303b455a Mon Sep 17 00:00:00 2001 From: piair Date: Tue, 29 Aug 2023 18:36:22 +0200 Subject: [PATCH] =?UTF-8?q?bah=20tu=20=C3=A9tais=20pass=C3=A9=20ou=20toi?= =?UTF-8?q?=20=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Flask/app.py | 3 ++- version | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Flask/app.py b/Flask/app.py index 5ee0ca7..ce924be 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -98,7 +98,8 @@ app = Flask(__name__) @app.context_processor 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) """ #Login stuff diff --git a/version b/version index 9c173b8..76f75c6 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.2.11 +v6.2.12