бэкапа может не быть
This commit is contained in:
parent
bfbc348d11
commit
79aeb84055
|
|
@ -9,7 +9,7 @@ class RestoreBackupCommand(BaseBackupCommand):
|
|||
|
||||
def execute(self):
|
||||
if not os.path.exists(self.backupDirAbsPath):
|
||||
raise Exception('backup folder: {0} not exists'.format(self.backupDirAbsPath))
|
||||
return
|
||||
|
||||
srcDirContent = os.listdir(self.srcAbsDirPath)
|
||||
for fileOrDir in srcDirContent:
|
||||
|
|
|
|||
Loading…
Reference in New Issue