2ème problème (je ne vais commit que les modifs sur le app.py)
This commit is contained in:
parent
294ad75aa0
commit
90a87d19c7
|
@ -373,7 +373,7 @@ def stats():
|
||||||
def override_post():
|
def override_post():
|
||||||
json = request.form.to_dict(flat=False)
|
json = request.form.to_dict(flat=False)
|
||||||
log = open(f"/app/MsRewards-Reborn/Flask/static/logs/custom.txt", 'w') # so that data written to it will be appended
|
log = open(f"/app/MsRewards-Reborn/Flask/static/logs/custom.txt", 'w') # so that data written to it will be appended
|
||||||
subprocess.Popen([f"python3 -u /app/MsRewards-Reborn/V6.py -c {json['config']} --very-custom \"{json}\""], stdout=log, stderr=log, shell=True)
|
subprocess.Popen([f"python3 -u /app/MsRewards-Reborn/V6.py -c {json['config'][0]} --very-custom \"{json}\""], stdout=log, stderr=log, shell=True)
|
||||||
log.close()
|
log.close()
|
||||||
return(render_template("vnc_post.html"))
|
return(render_template("vnc_post.html"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue