Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
background updates: fix assert again
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed Jul 25, 2016
1 parent 9dbd903 commit 2ee4c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/background_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(self, hs):

@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")
Expand Down

0 comments on commit 2ee4c9e

Please sign in to comment.