last update of the night ?

This commit is contained in:
piair 2023-04-04 21:26:40 +02:00
parent 4d8157ba1e
commit 78e7342acf
1 changed files with 4 additions and 3 deletions

View File

@ -169,9 +169,10 @@ def check_update():
print("Already up to date.")
else :
print(f"updating to {latest}")
os.system("git pull --rebase")
os.system("python3 -m pip install -r requirements.txt")
print("updated")
os.system("git reset --hard")
os.system("git pull")
os.system("python3 -m pip install -r requirements.txt > update.result")
print(f"updated to {latest}")
LogPath = config["PATH"]["logpath"]