summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorNeil Johnson <neil@fragile.org.uk>2018-03-28 10:02:32 +0100
committerNeil Johnson <neil@fragile.org.uk>2018-03-28 10:02:32 +0100
commit9187e0762f0b4f028d15fac4502e458f513d6642 (patch)
tree26d692b29b32f70f21f551c0c2618ef6ed1dd2bf /synapse
parentMerge pull request #3017 from matrix-org/erikj/add_cache_control_headers (diff)
downloadsynapse-9187e0762f0b4f028d15fac4502e458f513d6642.tar.xz
count_daily_users failed if db was sqlite due to type failure - presumably this prevcented all sqlite homeservers reporting home
Diffstat (limited to '')
-rw-r--r--synapse/storage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py

index de00cae447..b97e5e5ff4 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py
@@ -260,7 +260,7 @@ class DataStore(RoomMemberStore, RoomStore, ) u """ - txn.execute(sql, (yesterday,)) + txn.execute(sql, (str(yesterday),)) count, = txn.fetchone() return count