From 6996e813b5a3079e071ca8703e78a097d2c46478 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Thu, 11 Jul 2024 20:12:26 +0200 Subject: [PATCH] Fixed error during debug logging on upload --- cps/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/helper.py b/cps/helper.py index b7d4452f..b90d0fbc 100644 --- a/cps/helper.py +++ b/cps/helper.py @@ -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):