forked from openlp/openlp
Fix unzipping theme files
This commit is contained in:
parent
61c7b6479f
commit
d02fc68a72
@ -341,7 +341,7 @@ class ThemeManager(QtGui.QWidget):
|
|||||||
outfile = open(fullpath, u'w')
|
outfile = open(fullpath, u'w')
|
||||||
outfile.write(filexml)
|
outfile.write(filexml)
|
||||||
else:
|
else:
|
||||||
outfile = open(fullpath, u'w')
|
outfile = open(fullpath, u'wb')
|
||||||
outfile.write(zip.read(file))
|
outfile.write(zip.read(file))
|
||||||
self.generateAndSaveImage(dir, themename, filexml)
|
self.generateAndSaveImage(dir, themename, filexml)
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user