Return True on rebuildDb success

This commit is contained in:
shortcutme 2019-06-06 02:27:59 +02:00
parent d596f28f46
commit 8cb629fb55
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 2 additions and 0 deletions

View File

@ -180,6 +180,8 @@ class SiteStorage(object):
self.event_db_busy.set(True) # Event done, notify waiters
self.event_db_busy = None # Clear event
return True
# Execute sql query or rebuild on dberror
def query(self, query, params=None):
if not query.strip().upper().startswith("SELECT"):