Rev2003, Fix dbQuery exception in verbose mode

This commit is contained in:
shortcutme 2017-03-15 13:13:21 +01:00
parent f55c2659cd
commit afcd6dfa14
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.5.3"
self.rev = 2002
self.rev = 2003
self.argv = argv
self.action = None
self.config_file = "zeronet.conf"

View File

@ -533,7 +533,7 @@ class UiWebsocket(object):
# Sql query
def actionDbQuery(self, to, query, params=None, wait_for=None):
if config.debug:
if config.debug or config.verbose:
s = time.time()
rows = []
try: