forked from openlp/openlp
Open opensong files in 'rb' mode. Fixes bug 1396958
Fixes: https://launchpad.net/bugs/1396958
This commit is contained in:
parent
9b731aad7a
commit
01cbd921e9
@ -126,7 +126,7 @@ class OpenSongImport(SongImport):
|
||||
for filename in self.import_source:
|
||||
if self.stop_import_flag:
|
||||
return
|
||||
song_file = open(filename)
|
||||
song_file = open(filename, 'rb')
|
||||
self.do_import_file(song_file)
|
||||
song_file.close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user