Update update.py

This commit is contained in:
kritiksoman 2020-08-25 19:22:29 +05:30 committed by GitHub
parent 2180f5fcbe
commit 4ac265b55f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,7 @@ def update(flag) :
print('Failed to delete %s. Reason: %s' % (file_path, e))
# os.system("cd "+baseLoc+";git fetch;git checkout .")
syncWeights.syncGit(baseLoc)
os.system("cd "+baseLoc+";chmod +x *.py")
if flag:
syncWeights.sync(baseLoc+'weights',flag)
# pdb.gimp_message("Update Completed Successfully!")