0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-09 12:48:49 +02:00

add white space line

This commit is contained in:
Neil Johnson 2018-01-26 00:15:10 +00:00
parent 86c4f49a31
commit 73560237d6

View file

@ -205,6 +205,7 @@ class RoomListHandler(BaseHandler):
else:
# step cannot be zero
step = len(rooms_to_scan) if len(rooms_to_scan) != 0 else 1
chunk = []
for i in xrange(0, len(rooms_to_scan), step):
batch = rooms_to_scan[i:i + step]