Merge branch 'hotfix/0.12.0'

This commit is contained in:
JackDandy 2016-12-19 11:50:03 +00:00
commit d6a5671464
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,9 @@
### 0.12.0 (2016-12-19 03:00:00 UTC)
### 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)
* Add strict Python version check (equal to, or higher than 2.7.9 and less than 3.0), **exit** if incorrect version
* Update unidecode library 0.04.11 to 0.04.18 (fd57cbf)

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)