From 7d7272a266c7f15a4341d6136acf95db957fd1d2 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sun, 16 Jul 2017 22:51:01 +0200 Subject: [PATCH] Update SidebarPlugin.py --- 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 49fc5cfc..99339fd0 100644 --- a/plugins/Sidebar/SidebarPlugin.py +++ b/plugins/Sidebar/SidebarPlugin.py @@ -502,7 +502,7 @@ class UiWebsocketPlugin(object): self.cmd("notification", ["geolite-done", _["GeoLite2 City database downloaded!"], 5000]) time.sleep(2) # Wait for notify animation return True - except Exception, err: + except Exception as err: self.log.error("Error downloading %s: %s" % (db_url, err)) pass self.cmd("notification", [