Compare commits
2 Commits
d4920ec322
...
3c9d20891c
Author | SHA1 | Date | |
---|---|---|---|
|
3c9d20891c | ||
|
a0a4535c35 |
@ -386,7 +386,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'][0]} --very-custom \"{json}\""], stdout=log, stderr=log, shell=True)
|
subprocess.Popen([f"python3 -u /app/MsRewards-Reborn/V6.py -c {json['config'][0]} --json \"{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
Block a user