Commit 15066152 authored by Nicolas Delaby's avatar Nicolas Delaby

forgot to rename this variable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@40506 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 34e925d6
......@@ -75,7 +75,7 @@ class FileSystemDocument(object):
zipfile.extractall(path=self.directory_name)
zipfile.close()
filename_list = listdir(self.directory_name)
if 'index.html' in file_list:
if 'index.html' in filename_list:
file_path = join(self.directory_name, 'index.html')
else:
mimetype_list = ['text/html', 'application/xhtml+xml']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment