1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-30 13:30:00 +00:00

Fixed error during debug logging on upload

This commit is contained in:
Ozzie Isaacs 2024-07-11 20:12:26 +02:00
parent 840f4d2010
commit 6996e813b5

View File

@ -562,7 +562,7 @@ def move_files_on_change(calibre_path, new_author_dir, new_titledir, localbook,
if not os.path.isdir(new_path):
os.makedirs(new_path)
shutil.move(original_filepath, os.path.join(new_path, db_filename))
log.debug("Moving title: %s to %s/%s", original_filepath, new_path)
log.debug("Moving title: %s to %s", original_filepath, new_path)
else:
# Check new path is not valid path
if not os.path.exists(new_path):