Update update.py

pull/30/head
kritiksoman 4 years ago committed by GitHub
parent 062f2faa4c
commit 2e88fcc59e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,7 +21,7 @@ def update(flag) :
shutil.rmtree(file_path)
except Exception as e:
print('Failed to delete %s. Reason: %s' % (file_path, e))
os.system("cd "+baseLoc+";git fetch;git checkout .")
os.system("cd "+baseLoc+";git fetch;git pull")
if flag:
syncWeights.sync(baseLoc+'weights',flag)
# pdb.gimp_message("Update Completed Successfully!")

Loading…
Cancel
Save