forked from openlp/openlp
bytes/str fix
This commit is contained in:
parent
b53ed99eea
commit
8fe2aed62f
@ -637,7 +637,7 @@ class ThemeManager(QtGui.QWidget):
|
|||||||
out_file = None
|
out_file = None
|
||||||
try:
|
try:
|
||||||
out_file = open(theme_file, u'w')
|
out_file = open(theme_file, u'w')
|
||||||
out_file.write(theme_pretty_xml)
|
out_file.write(theme_pretty_xml.decode('UTF-8'))
|
||||||
except IOError:
|
except IOError:
|
||||||
log.exception(u'Saving theme to file failed')
|
log.exception(u'Saving theme to file failed')
|
||||||
finally:
|
finally:
|
||||||
|
Loading…
Reference in New Issue
Block a user