Merge branch 'master' into develop

This commit is contained in:
JackDandy 2016-12-19 11:51:15 +00:00
commit 2807c4258c
2 changed files with 3 additions and 6 deletions

View file

@ -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)

View file

@ -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)