Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

Commit

Permalink
Correcting epub name
Browse files Browse the repository at this point in the history
  • Loading branch information
rupor-github committed May 12, 2018
1 parent ae4e311 commit b64a859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fb2mobi.py
Expand Up @@ -275,7 +275,7 @@ def process_file(config, infile, outfile=None):
elif config.output_format.lower() == 'epub':
# Собираем epub
config.log.info('Creating epub...')
outputfile = os.path.basename(outputfile) + '.epub'
outputfile = os.path.splitext(outputfile)[0] + '.epub'
create_epub(temp_dir, outputfile)

ext = config.output_format.lower()
Expand Down

0 comments on commit b64a859

Please sign in to comment.