forked from openlp/openlp
remove .encode hopefully to fix http://support.openlp.org/issues/442
This commit is contained in:
parent
d77534dc34
commit
0e95ffe55f
|
@ -159,7 +159,7 @@ class ThemeManager(QtGui.QWidget):
|
||||||
encoding = get_filesystem_encoding()
|
encoding = get_filesystem_encoding()
|
||||||
files = SettingsManager.get_files(self.settingsSection, u'.otz')
|
files = SettingsManager.get_files(self.settingsSection, u'.otz')
|
||||||
for file in files:
|
for file in files:
|
||||||
file = os.path.join(self.path, file).encode(encoding)
|
file = os.path.join(self.path, file)
|
||||||
self.unzipTheme(file, self.path)
|
self.unzipTheme(file, self.path)
|
||||||
delete_file(file)
|
delete_file(file)
|
||||||
Receiver.send_message(u'cursor_normal')
|
Receiver.send_message(u'cursor_normal')
|
||||||
|
|
Loading…
Reference in New Issue