summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorKrombel <krombel@krombel.de>2017-05-12 12:09:42 +0200
committerKrombel <krombel@krombel.de>2017-05-12 12:09:42 +0200
commiteb7cbf27bc8723f5761f0b8bb4c57a7ceb0fc3e5 (patch)
tree146a8a2a09ad5ccd60b13f5c00fa8e1cd72db8aa /synapse/storage
parentadd check to only add a new filter if the same filter does not exist previously (diff)
downloadsynapse-eb7cbf27bc8723f5761f0b8bb4c57a7ceb0fc3e5.tar.xz
insert whitespace to fix travis build
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/filtering.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/filtering.py b/synapse/storage/filtering.py
index e7ec43cf97..9101f57288 100644
--- a/synapse/storage/filtering.py
+++ b/synapse/storage/filtering.py
@@ -55,7 +55,7 @@ class FilteringStore(SQLBaseStore):
                 "SELECT filter_id FROM user_filters "
                 "WHERE user_id = ? AND filter_json = ?"
             )
-            txn.execute(sql, (user_localpart,def_json))
+            txn.execute(sql, (user_localpart, def_json))
             filter_id = txn.fetchone()[0]
             if filter_id is not None:
                 return filter_id