From e55fa139f7370cfad70e624ee3e3f5f636423820 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Mon, 19 Dec 2016 11:49:07 +0000 Subject: [PATCH] Fix image scan log for show titles that contain "%". --- CHANGES.md | 7 ++----- sickbeard/image_cache.py | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 3cbaffbe..965a1ef3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,9 +1,6 @@ -### 0.13.0 (2016-xx-xx xx:xx:xx UTC) - - - -[develop changelog] +### 0.12.1 (2016-12-19 12:00:00 UTC) +* Fix image scan log for show titles that contain "%" ### 0.12.0 (2016-12-19 03:00:00 UTC) diff --git a/sickbeard/image_cache.py b/sickbeard/image_cache.py index 799d0a66..7d51a7c4 100644 --- a/sickbeard/image_cache.py +++ b/sickbeard/image_cache.py @@ -193,7 +193,7 @@ class ImageCache: img_parser.stream._input.close() msg_success = u'Treating image as %s'\ - + u' with extracted aspect ratio from %s' % path + + u' with extracted aspect ratio from %s' % path.replace('%', '%%') # most posters are around 0.68 width/height ratio (eg. 680/1000) if 0.55 < img_ratio < 0.8: logger.log(msg_success % 'poster', logger.DEBUG)