Add missing yield in storage func

This commit is contained in:
Erik Johnston 2015-04-15 10:24:07 +01:00
parent c756dfeb14
commit f9e12f79ca

View File

@ -39,7 +39,7 @@ class RegistrationStore(SQLBaseStore):
"""
next_id = yield self._access_tokens_id_gen.get_next()
self._simple_insert(
yield self._simple_insert(
"access_tokens",
{
"id": next_id,