finally fixd updatecode

This commit is contained in:
langolierz
2019-12-11 19:21:09 +00:00
parent 87425a13e0
commit b5c772f467

View File

@@ -831,8 +831,8 @@ class Actions(object):
current_conjur_hash = conjur_repo.head.object.hexsha
current_ofxVideoArtTools_hash = ofxVideoArtTools_repo.head.object.hexsha
try_remove_file(self.data.PATH_TO_DATA_OBJECTS + self.data.SETTINGS_JSON )
try_remove_file(PATH_TO_DEFAULT_CONJUR_DATA)
self.try_remove_file(self.data.PATH_TO_DATA_OBJECTS + self.data.SETTINGS_JSON )
self.try_remove_file(self.data.PATH_TO_DEFAULT_CONJUR_DATA)
try:
recur_repo.remotes.origin.pull()
conjur_repo.remotes.origin.pull()
@@ -872,4 +872,4 @@ class Actions(object):
@staticmethod
def try_remove_file(path):
if os.path.exists(path):
os.remove(filePath)
os.remove(path)