fix return value of iter_city_search (closes #457)
This commit is contained in:
parent
0278af175f
commit
1edaf7fd9f
2 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ class MeteofranceBrowser(BaseBrowser):
|
|||
else:
|
||||
# Case 2: there is only one result, and the website send directly
|
||||
# the browser on the forecast page:
|
||||
return self.page.get_city()
|
||||
return [self.page.get_city()]
|
||||
|
||||
def iter_forecast(self, city_id):
|
||||
self.location(self.WEATHER_URL.format(cityid=city_id))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue