mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 07:33:53 +01:00 
			
		
		
		
	pourquoi ca marche pas ?
This commit is contained in:
		@@ -445,9 +445,6 @@ def upload_file():
 | 
				
			|||||||
    return redirect(url_for('settings_get'))
 | 
					    return redirect(url_for('settings_get'))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    return redirect(url_for('settings_get'))
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
def maxi(dict):
 | 
					def maxi(dict):
 | 
				
			||||||
    m = 0
 | 
					    m = 0
 | 
				
			||||||
    for i in dict :
 | 
					    for i in dict :
 | 
				
			||||||
@@ -456,7 +453,9 @@ def maxi(dict):
 | 
				
			|||||||
    return(m+1)
 | 
					    return(m+1)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def setup_grafana():
 | 
					def setup_grafana():
 | 
				
			||||||
 | 
					    print("setup_grafana")
 | 
				
			||||||
    if requests.get("http://localhost:3000/api/datasources").text == "[]" :
 | 
					    if requests.get("http://localhost:3000/api/datasources").text == "[]" :
 | 
				
			||||||
 | 
					        print("subprocess started")
 | 
				
			||||||
        subprocess.Popen(["bash",'/app/MsRewards-Reborn/config/request.sh'])
 | 
					        subprocess.Popen(["bash",'/app/MsRewards-Reborn/config/request.sh'])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if __name__ == '__main__':
 | 
					if __name__ == '__main__':
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user