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 @@
- - +