Skip to content

Commit

Permalink
Show paths in the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kthoden committed Nov 25, 2019
1 parent 265b1f9 commit 6559e89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/imxml2django.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
shutil.copy(INPUT_DIR / "publication.cfg", OUTPUT_DIR)
logging.info(f"Copied from {INPUT_DIR}.")
else:
logging.error("Found no publication.cfg. Exiting")
logging.error(f"Found no publication.cfg in {INPUT_DIR}. Exiting")
sys.exit( 1 )
logging.info(f"The file Cover.jpg in django directory is missing.")
if os.path.exists(PUBLICATION_DIR / "Cover.jpg"):
Expand Down
2 changes: 1 addition & 1 deletion src/imxml2epub.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def create_epub_container(filename, OUTPUT_DIR):
epubcontainer.write(os.path.join(dirname, contentfile))

epubcontainer.close()
logging.info(f"Wrote {epub_filename}.")
logging.info(f"Wrote {output_dir}/{epub_filename}.")
os.chdir( cwd )
# def create_epub_container ends here

Expand Down

0 comments on commit 6559e89

Please sign in to comment.