Skip to content

Commit

Permalink
Merge pull request #44 from haydonryan/main
Browse files Browse the repository at this point in the history
Fixing bug in if elif else block from previous PR
  • Loading branch information
p0n1 authored Feb 16, 2024
2 parents 52a9a87 + f04fdb1 commit 5258f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audiobook_generator/core/audiobook_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def run(self):
# Prompt user to continue if not in preview mode
if self.config.no_prompt:
logger.info(f"Skipping prompt as passed parameter no_prompt")
if self.config.preview:
elif self.config.preview:
logger.info(f"Skipping prompt as in preview mode")
else:
confirm_conversion()
Expand Down

0 comments on commit 5258f9e

Please sign in to comment.