count_daily_users failed if db was sqlite due to type failure - presumably this prevcented all sqlite homeservers reporting home

This commit is contained in:
Neil Johnson 2018-03-28 10:02:32 +01:00
parent 03a26e28d9
commit 9187e0762f
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ class DataStore(RoomMemberStore, RoomStore,
) u
"""
txn.execute(sql, (yesterday,))
txn.execute(sql, (str(yesterday),))
count, = txn.fetchone()
return count