add some def to main

This commit is contained in:
sebastian.serfling
2024-08-12 16:03:42 +02:00
parent 293267e70c
commit 1ad2fc8c9a
2 changed files with 39 additions and 6 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ if current_version != new_version:
next
if os.path.isdir(f"../{new_version}"):
try:
shutil.move("latest", f"../{current_version}")
shutil.move("../latest", f"../{current_version}")
except:
print("folder not Found")
shutil.move(f"../{new_version}", "../latest")