p0n1 / epub_to_audiobook

EPUB to audiobook converter, optimized for Audiobookshelf
MIT License
1.04k stars 107 forks source link

Fixing bug in if elif else block from previous PR #44

Closed haydonryan closed 7 months ago

haydonryan commented 7 months ago

small bug pointed out by timz06

On line 74, it should be "elif self.config.preview:" instead of only "if self.config.preview:" for it to become a multiple if-elif-else logic. Because when I include the no_prompt argument, it still does the confirm_conversion() function.