Skip to content

Commit

Permalink
Fixed error during debug logging on upload
Browse files Browse the repository at this point in the history
  • Loading branch information
OzzieIsaacs committed Jul 11, 2024
1 parent 840f4d2 commit 6996e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cps/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 6996e81

Please sign in to comment.