last update of the night ?
This commit is contained in:
parent
4d8157ba1e
commit
78e7342acf
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"]
|
||||||
|
|
Loading…
Reference in New Issue