mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-05 16:00:06 +01:00
fix boot bug
This commit is contained in:
@@ -831,8 +831,8 @@ class Actions(object):
|
||||
current_conjur_hash = conjur_repo.head.object.hexsha
|
||||
current_ofxVideoArtTools_hash = ofxVideoArtTools_repo.head.object.hexsha
|
||||
|
||||
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)
|
||||
self.data.try_remove_file(self.data.PATH_TO_DATA_OBJECTS + self.data.SETTINGS_JSON )
|
||||
self.data.try_remove_file(self.data.PATH_TO_DEFAULT_CONJUR_DATA)
|
||||
try:
|
||||
recur_repo.remotes.origin.pull()
|
||||
conjur_repo.remotes.origin.pull()
|
||||
@@ -869,7 +869,4 @@ class Actions(object):
|
||||
self.message_handler.clear_all_messages()
|
||||
|
||||
|
||||
@staticmethod
|
||||
def try_remove_file(path):
|
||||
if os.path.exists(path):
|
||||
os.remove(path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user