diff --git a/Flask/app.py b/Flask/app.py index 1a37cf9..d1c40d8 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -45,8 +45,9 @@ scheduler.add_job( # on relance le job def start_ms(i): print("\033[32m" + f"Starting config {i}" + "\033[0m") - subprocess.Popen(["python3",'-u' ,"/app/MsRewards-Reborn/V6.py", "-c", i, "&>>", f"/app/user_data/logs/{i}.txt"]) - + log = open(f"/app/user_data/logs/{i}.txt", 'a') # so that data written to it will be appended + subprocess.Popen(["python3",'-u' ,"/app/MsRewards-Reborn/V6.py", "-c", i], stdout=log, stderr=log, shell=True) + log.close() diff --git a/version b/version index bac39b8..ff7cb67 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.0.6 +v6.0.7