Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a bug which caused jamu to crash due to multiple unicode conversi…

…ons.

Fixes #9637. ACKed by Doug Vaughan.
  • Loading branch information...
commit 464fa2837373d5f0c9277482a06bbb871369f7b7 1 parent c2baf1b
@kenni kenni authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 mythplugins/mythvideo/mythvideo/scripts/jamu.py
View
8 mythplugins/mythvideo/mythvideo/scripts/jamu.py
@@ -47,7 +47,7 @@
fan art and banners and meta data. The richer the source the more valuable the script.
'''
-__version__=u"v0.7.7"
+__version__=u"v0.7.8"
# 0.1.0 Initial development
# 0.2.0 Inital beta release
# 0.3.0 Add mythvideo metadata updating including movie graphics through
@@ -308,6 +308,8 @@
# 0.7.7 Pull hostname from python bindings instead of socket libraries
# Added support of unicode characters within a jamu.conf file
# Replace 'xml' module version check with generic Python version, to correct failure in Python 2.7
+ # 0.7.8 Fixed a bug which caused jamu to crash due to an extra unicode conversion introduced in 0.7.7.
+ # See also #9637.
usage_txt=u'''
@@ -1279,12 +1281,12 @@ def setUseroptions(self, useroptions):
if section == 'regex':
# Change variables per user config file
for option in cfg.options(section):
- self.config['name_parse'].append(re.compile(unicode(cfg.get(section, option), 'utf8'), re.UNICODE))
+ self.config['name_parse'].append(re.compile(cfg.get(section, option), re.UNICODE))
continue
if section == 'ignore-directory':
# Video directories to be excluded from Jamu processing
for option in cfg.options(section):
- self.config['ignore-directory'].append(unicode(cfg.get(section, option), 'utf8'))
+ self.config['ignore-directory'].append(cfg.get(section, option))
continue
if section =='series_name_override':
overrides = {}
Please sign in to comment.
Something went wrong with that request. Please try again.