bug fix around latest skip-bad-book feature

This commit is contained in:
Robert McRackan 2020-12-23 16:07:47 -05:00
parent cefab86ce1
commit bc6f53c8ea
3 changed files with 53 additions and 60 deletions

View file

@ -78,11 +78,11 @@ namespace FileLiberator
Dinah.Core.IO.FileExt.SafeDelete(aaxFilename);
}
var statusHandler = new StatusHandler();
var finalAudioExists = AudibleFileStorage.Audio.Exists(libraryBook.Book.AudibleProductId);
if (!finalAudioExists)
statusHandler.AddError("Cannot find final audio file after decryption");
return statusHandler;
return new StatusHandler { "Cannot find final audio file after decryption" };
return new StatusHandler();
}
finally
{