mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-24 02:03:42 +00:00
background updates: Fix assertion to do something
This commit is contained in:
1 parent
bf3de7b90b
commit
9dbd903f41
1 file changed
+2
-2
@@ -88,8 +88,8 @@ class BackgroundUpdateStore(SQLBaseStore):
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def start_doing_background_updates(self):
|
||||
assert(self._background_update_timer is not None,
|
||||
"background updates already running")
|
||||
assert self._background_update_timer is not None, \
|
||||
"background updates already running"
|
||||
|
||||
logger.info("Starting background schema updates")
|
||||
|
||||
|
||||
Reference in new issue
Block a user