From 583bb1d0d9a231575768124bbc02119b0b46a79c Mon Sep 17 00:00:00 2001 From: mano3m Date: Sat, 19 Oct 2013 00:14:04 +0200 Subject: [PATCH] Fix debug message --- couchpotato/core/plugins/renamer/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/plugins/renamer/main.py b/couchpotato/core/plugins/renamer/main.py index e7fa7012..5e78d3ff 100755 --- a/couchpotato/core/plugins/renamer/main.py +++ b/couchpotato/core/plugins/renamer/main.py @@ -603,7 +603,7 @@ Remove it if you want it to be renamed (again, or at least let it try again) try: os.remove(filename) except: - log.debug('Unable to remove ignore file: %s' % (filename, traceback.format_exc())) + log.debug('Unable to remove ignore file: %s. Error: %s.' % (filename, traceback.format_exc())) def hastagRelease(self, release_download, tag = ''): if not release_download: @@ -651,7 +651,7 @@ Remove it if you want it to be renamed (again, or at least let it try again) link(old, dest) except: # Try to simlink next - log.debug('Couldn\'t hardlink file "%s" to "%s". Simlinking instead. Error: %s. ', (old, dest, traceback.format_exc())) + log.debug('Couldn\'t hardlink file "%s" to "%s". Simlinking instead. Error: %s.', (old, dest, traceback.format_exc())) shutil.copy(old, dest) try: symlink(dest, old + '.link')