add some def to main
This commit is contained in:
+1
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user