Skip to content

Commit

Permalink
Rev2003, Fix dbQuery exception in verbose mode
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Mar 15, 2017
1 parent f55c265 commit afcd6df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/Ui/UiWebsocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ def actionDirList(self, to, inner_path):

# 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:
Expand Down

0 comments on commit afcd6df

Please sign in to comment.