Skip to content

Commit

Permalink
MythVideo: Update Jamu to deal with unicode overrides.
Browse files Browse the repository at this point in the history
Patch from Kenni.
  • Loading branch information
Robert McNamara committed Dec 16, 2010
1 parent fc8e5ee commit 3fbe948
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mythplugins/mythvideo/mythvideo/scripts/jamu.py
Expand Up @@ -47,7 +47,7 @@
fan art and banners and meta data. The richer the source the more valuable the script.
'''

__version__=u"v0.7.8"
__version__=u"v0.7.9"
# 0.1.0 Initial development
# 0.2.0 Inital beta release
# 0.3.0 Add mythvideo metadata updating including movie graphics through
Expand Down Expand Up @@ -307,6 +307,7 @@
# 0.7.6 Modifications to support MythTV python bindings changes
# 0.7.7 Pull hostname from python bindings instead of socket libraries
# 0.7.8 Replace uses of MythVideo.getVideo()
# 0.7.9 Deal with jamu.conf entries that have unicode characters


usage_txt=u'''
Expand Down Expand Up @@ -1247,7 +1248,7 @@ def setUseroptions(self, useroptions):
)
sys.exit(1)
cfg = ConfigParser.SafeConfigParser()
cfg.read(useroptions)
cfg.readfp(codecs.open(useroptions, "r", "utf8"))
for section in cfg.sections():
if section[:5] == 'File ':
self.config['config_file'] = section[5:]
Expand Down

0 comments on commit 3fbe948

Please sign in to comment.