Merge pull request #3413 from Zverik/fixhotels

[booking] Fix hotels downloader
This commit is contained in:
Sergey Yershov 2016-06-01 21:01:44 +04:00
commit 2cf9376735

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: