From e2e1a5b38ce7dd468e3466567885b01cac92058d Mon Sep 17 00:00:00 2001 From: shortcutme Date: Thu, 30 May 2019 04:27:01 +0200 Subject: [PATCH] Fix streamZip variable name --- plugins/Sidebar/SidebarPlugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Sidebar/SidebarPlugin.py b/plugins/Sidebar/SidebarPlugin.py index 5dcda6c9..1b671271 100644 --- a/plugins/Sidebar/SidebarPlugin.py +++ b/plugins/Sidebar/SidebarPlugin.py @@ -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: