From b5c772f467b59333930345b45cbaf9c5ef6c5615 Mon Sep 17 00:00:00 2001 From: langolierz Date: Wed, 11 Dec 2019 19:21:09 +0000 Subject: [PATCH] finally fixd updatecode --- actions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/actions.py b/actions.py index 0e20598..b210799 100644 --- a/actions.py +++ b/actions.py @@ -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)