[booking] Fix hotels downloader

This commit is contained in:
Ilya Zverev 2016-06-01 18:18:11 +03:00
parent 16aed3d565
commit 1c2f89df82

View file

@ -106,7 +106,7 @@ def download(user, password, path):
if not hotels:
exit(1)
allhotels.append(hotels)
allhotels.extend(hotels)
# If hotels in answer less then maxrows, we reach end of data.
if len(hotels) < maxrows: