openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #08730
[Merge] lp:~googol-hush/openlp/songs into lp:openlp
Andreas Preikschat has proposed merging lp:~googol-hush/openlp/songs into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~googol-hush/openlp/songs/+merge/60383
Hello,
fix for ticked 155
http://support.openlp.org/issues/155
Note, ticket 155 described more bugs and the traceback in the ticket is not related to this fix.
--
https://code.launchpad.net/~googol-hush/openlp/songs/+merge/60383
Your team OpenLP Core is requested to review the proposed merge of lp:~googol-hush/openlp/songs into lp:openlp.
=== modified file 'openlp/plugins/songs/lib/songbeamerimport.py'
--- openlp/plugins/songs/lib/songbeamerimport.py 2011-04-18 18:03:41 +0000
+++ openlp/plugins/songs/lib/songbeamerimport.py 2011-05-09 14:01:14 +0000
@@ -92,7 +92,7 @@
file_name = os.path.split(file)[1]
if os.path.isfile(file):
detect_file = open(file, u'r')
- details = chardet.detect(detect_file.read(2048))
+ details = chardet.detect(detect_file.read())
detect_file.close()
infile = codecs.open(file, u'r', details['encoding'])
songData = infile.readlines()
Follow ups