Skip to content

Commit

Permalink
Specify where cover was copied from
Browse files Browse the repository at this point in the history
  • Loading branch information
kthoden committed Apr 9, 2020
1 parent 2191f31 commit 3b6fa57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/imxml2django.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8; mode: python -*-
# Time-stamp: <2020-04-06 15:39:47 (kthoden)>
# Time-stamp: <2020-04-08 17:46:10 (kthoden)>

"""
Create an XML file that can be inserted into the Django database
Expand Down Expand Up @@ -139,7 +139,7 @@
sys.exit( 1 )
if os.path.exists(INPUT_DIR / "Cover.jpg"):
shutil.copy(INPUT_DIR / "Cover.jpg", OUTPUT_DIR / "Cover.jpg")
logging.info("Copied from current directory.")
logging.info("Copied cover image from input directory.")
else:
logging.error("No coverfile found. You can create a temporary one with the mkimage.py script")
sys.exit( 1 )
Expand Down

0 comments on commit 3b6fa57

Please sign in to comment.