Update SidebarPlugin.py
This commit is contained in:
parent
83e372ce47
commit
7d7272a266
1 changed files with 1 additions and 1 deletions
|
@ -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", [
|
||||
|
|
Loading…
Reference in a new issue