Rev2003, Fix dbQuery exception in verbose mode
This commit is contained in:
parent
f55c2659cd
commit
afcd6dfa14
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue