Raoul Snyman has proposed merging lp:~raoul-snyman/openlp/biblefixes into
lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Another unicode fix in the Bible import.
--
https://code.launchpad.net/~raoul-snyman/openlp/biblefixes/+merge/21887
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'openlp/plugins/bibles/lib/opensong.py'
--- openlp/plugins/bibles/lib/opensong.py 2010-03-21 23:58:01 +0000
+++ openlp/plugins/bibles/lib/opensong.py 2010-03-22 21:05:28 +0000
@@ -63,7 +63,8 @@
Loads a Bible from file.
"""
log.debug(u'Starting OpenSong import from "%s"' % self.filename)
- self.filename = unicode(self.filename, u'utf-8')
+ if not isinstance(self.filename, unicode):
+ self.filename = unicode(self.filename, u'utf8')
self.wizard.incrementProgressBar(u'Preparing for import...')
file = None
success = True
_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help : https://help.launchpad.net/ListHelp