Open opensong files in 'rb' mode. Fixes bug 1396958

Fixes: https://launchpad.net/bugs/1396958
This commit is contained in:
Tomas Groth 2014-11-28 08:13:21 +00:00
parent 9b731aad7a
commit 01cbd921e9
1 changed files with 1 additions and 1 deletions

View File

@ -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()