diff --git a/scripts/TouchinBuild/commands/BaseBackupCommand/RestoreBackupCommand.py b/scripts/TouchinBuild/commands/BaseBackupCommand/RestoreBackupCommand.py index bcb0067..403d5f7 100644 --- a/scripts/TouchinBuild/commands/BaseBackupCommand/RestoreBackupCommand.py +++ b/scripts/TouchinBuild/commands/BaseBackupCommand/RestoreBackupCommand.py @@ -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: