mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 07:33:53 +01:00 
			
		
		
		
	2ème problème (je ne vais commit que les modifs sur le app.py)
This commit is contained in:
		@@ -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"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user