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)