forked from openlp/openlp
fix: Collecting files for theme export was broken
This commit is contained in:
parent
50f123490f
commit
88930d3600
@ -243,7 +243,7 @@ class ThemeManager(QtGui.QWidget):
|
||||
try:
|
||||
zip = zipfile.ZipFile(themePath, u'w')
|
||||
source = os.path.join(self.path, theme)
|
||||
for files in os.walk(source)[2]:
|
||||
for root, dirs, files in os.walk(source):
|
||||
for name in files:
|
||||
zip.write(
|
||||
os.path.join(source, name).encode(u'utf-8'),
|
||||
|
Loading…
Reference in New Issue
Block a user