Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Cover image file must have capital c
  • Loading branch information
kthoden committed Jul 15, 2019
1 parent 94729c9 commit 37c7bc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imxml2django.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8; mode: python -*-
# Time-stamp: <2019-07-04 16:22:15 (kthoden)>
# Time-stamp: <2019-07-15 15:48:08 (kthoden)>

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

0 comments on commit 37c7bc1

Please sign in to comment.