mirror of
https://github.com/kritiksoman/GIMP-ML
synced 2024-10-31 09:20:18 +00:00
Update update.py
This commit is contained in:
parent
2180f5fcbe
commit
4ac265b55f
@ -23,6 +23,7 @@ def update(flag) :
|
|||||||
print('Failed to delete %s. Reason: %s' % (file_path, 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 checkout .")
|
||||||
syncWeights.syncGit(baseLoc)
|
syncWeights.syncGit(baseLoc)
|
||||||
|
os.system("cd "+baseLoc+";chmod +x *.py")
|
||||||
if flag:
|
if flag:
|
||||||
syncWeights.sync(baseLoc+'weights',flag)
|
syncWeights.sync(baseLoc+'weights',flag)
|
||||||
# pdb.gimp_message("Update Completed Successfully!")
|
# pdb.gimp_message("Update Completed Successfully!")
|
||||||
|
Loading…
Reference in New Issue
Block a user