background updates: fix assert again

This commit is contained in:
Richard van der Hoff 2016-07-25 16:01:46 +01:00
parent 9dbd903f41
commit 2ee4c9ee02

View file

@ -88,7 +88,7 @@ class BackgroundUpdateStore(SQLBaseStore):
@defer.inlineCallbacks
def start_doing_background_updates(self):
assert self._background_update_timer is not None, \
assert self._background_update_timer is None, \
"background updates already running"
logger.info("Starting background schema updates")