Update SidebarPlugin.py

This commit is contained in:
cclauss 2017-07-16 22:51:01 +02:00 committed by GitHub
parent 83e372ce47
commit 7d7272a266

View file

@ -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", [