From 2b0e99031e50c29f9561cebc3b91bab1fe799ed7 Mon Sep 17 00:00:00 2001 From: piair Date: Mon, 21 Aug 2023 21:10:55 +0200 Subject: [PATCH] =?UTF-8?q?on=20fait=20des=20tests=20=C3=A9coute?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Flask/app.py | 3 +++ Flask/templates/settings.html | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Flask/app.py b/Flask/app.py index 3dae1d1..adb29af 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -1,5 +1,6 @@ from time import sleep import subprocess +import os from flask import Flask, Response, redirect, url_for, request, session, abort, render_template, send_from_directory from apscheduler.schedulers.background import BackgroundScheduler from apscheduler.triggers.cron import CronTrigger @@ -7,6 +8,8 @@ from flask_login import LoginManager, UserMixin, login_required, login_user, log from werkzeug.utils import secure_filename import json import re + + global password with open("/app/MsRewards-Reborn/user_data/flask.json", "r") as inFile: data = json.load(inFile) diff --git a/Flask/templates/settings.html b/Flask/templates/settings.html index 0cfc3c8..4ad202d 100644 --- a/Flask/templates/settings.html +++ b/Flask/templates/settings.html @@ -79,8 +79,7 @@
- - +