fix: Collecting files for theme export was broken

This commit is contained in:
M2j 2010-06-10 00:18:07 +02:00
parent 50f123490f
commit 88930d3600

View File

@ -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'),