Fix streamZip variable name
This commit is contained in:
parent
4222c31b3e
commit
e2e1a5b38c
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ class UiRequestPlugin(object):
|
|||
|
||||
return self.streamZip(site.storage.getPath("."))
|
||||
|
||||
def streamZip(self, file_path):
|
||||
zs = ZipStream(file_path)
|
||||
def streamZip(self, dir_path):
|
||||
zs = ZipStream(dir_path)
|
||||
while 1:
|
||||
data = zs.read()
|
||||
if not data:
|
||||
|
|
Loading…
Reference in a new issue