mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-03 23:23:53 +01:00 
			
		
		
		
	last update of the night ?
This commit is contained in:
		
							
								
								
									
										7
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								main.py
									
									
									
									
									
								
							@@ -169,9 +169,10 @@ def check_update():
 | 
				
			|||||||
        print("Already up to date.")
 | 
					        print("Already up to date.")
 | 
				
			||||||
    else :
 | 
					    else :
 | 
				
			||||||
        print(f"updating to {latest}")
 | 
					        print(f"updating to {latest}")
 | 
				
			||||||
        os.system("git pull --rebase")
 | 
					        os.system("git reset --hard")
 | 
				
			||||||
        os.system("python3 -m pip install -r requirements.txt")
 | 
					        os.system("git pull")
 | 
				
			||||||
        print("updated")
 | 
					        os.system("python3 -m pip install -r requirements.txt > update.result")
 | 
				
			||||||
 | 
					        print(f"updated to {latest}")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LogPath = config["PATH"]["logpath"]
 | 
					LogPath = config["PATH"]["logpath"]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user