openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #21920
Re: [Merge] lp:~sam92/openlp/fix-songbeamer-import into lp:openlp
The exception was thrown in the open() call. I now changed the mode from 'r' to 'rb' which opens the file in binary mode.
The python docs say: Files opened in binary mode (including 'b' in the mode argument) return contents as bytes objects without any decoding. (http://docs.python.org/3/library/functions.html#open)
--
https://code.launchpad.net/~sam92/openlp/fix-songbeamer-import/+merge/187815
Your team OpenLP Core is subscribed to branch lp:openlp.
References