summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-13 11:29:37 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-13 11:30:15 +0000
commit28eba8747eb0a5f88f7bb96b93ef43c12d53b9de (patch)
treeab19276f5d3334627f606019d165807396b107d1 /synapse/handlers/room.py
parentDinsic Blacking with black==18.6b2 (diff)
parentRun Black. (#5482) (diff)
downloadsynapse-28eba8747eb0a5f88f7bb96b93ef43c12d53b9de.tar.xz
Run Black. (#5482)
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r--synapse/handlers/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 2ae9f93e97..cd1bd71bf8 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -813,7 +813,7 @@ class RoomContextHandler(object):
         Returns:
             dict, or None if the event isn't found
         """
-        before_limit = math.floor(limit / 2.)
+        before_limit = math.floor(limit / 2.0)
         after_limit = limit - before_limit
 
         users = yield self.store.get_users_in_room(room_id)