fixed OpenLyrics export

This commit is contained in:
Andreas Preikschat 2013-07-12 09:30:38 +02:00
parent 3a021b6804
commit b8624e6019
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class OpenLyricsExport(object):
filename = u'%s.xml' % filename[0:250 - len(self.save_path)]
# Pass a file object, because lxml does not cope with some special
# characters in the path (see lp:757673 and lp:744337).
tree.write(open(os.path.join(self.save_path, filename), u'w'),
tree.write(open(os.path.join(self.save_path, filename), u'wb'),
encoding=u'utf-8', xml_declaration=True, pretty_print=True)
return True