бэкапа может не быть

This commit is contained in:
rzaitov 2013-11-12 16:06:56 +04:00
parent bfbc348d11
commit 79aeb84055
1 changed files with 1 additions and 1 deletions

View File

@ -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: