pull/1130/head
Erik Johnston 2016-09-17 18:09:22 +01:00
parent 81570abfb2
commit 4d49e0bdfd
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class RoomListHandler(BaseHandler):
chunk = []
if limit and not search_filter:
step = limit + 1
for i in xrange(0 , len(rooms_to_scan), step):
for i in xrange(0, len(rooms_to_scan), step):
# We iterate here because the vast majority of cases we'll stop
# at first iteration, but occaisonally _generate_room_entry
# won't append to the chunk and so we need to loop again.