Fix streamZip variable name

This commit is contained in:
shortcutme 2019-05-30 04:27:01 +02:00
parent 4222c31b3e
commit e2e1a5b38c
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -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: