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

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"):