From 819f9fad2caa92c99ed0111ea6a5af4778065ce3 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Fri, 30 Dec 2016 18:53:24 +0100 Subject: [PATCH] Sidebar total display fix --- plugins/Sidebar/SidebarPlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Sidebar/SidebarPlugin.py b/plugins/Sidebar/SidebarPlugin.py index e11da044..8ae68d2c 100644 --- a/plugins/Sidebar/SidebarPlugin.py +++ b/plugins/Sidebar/SidebarPlugin.py @@ -191,7 +191,7 @@ class UiWebsocketPlugin(object): size = max(0, size_other) elif extension == "Image": size = size_filetypes.get("jpg", 0) + size_filetypes.get("png", 0) + size_filetypes.get("gif", 0) - elif extension == "total": + elif extension == "Total": size = size_total else: size = size_filetypes.get(extension, 0)