I've changed this:
self.weather = Weather( self.location_details[loc_ids[valid_source]], valid_source, self.metric_system, self.wind_unit, self.location_details['latitude'], self.location_details['longitude'])
into this:
self.weather = Weather( 'Villers-lès-Nancy, France', valid_source, self.metric_system, self.wind_unit, self.location_details['latitude'], self.location_details['longitude'])
I've changed this:
self.weather = Weather(
self. location_ details[ loc_ids[ valid_source] ],
valid_ source, self.metric_system, self.wind_unit,
self. location_ details[ 'latitude' ],
self. location_ details[ 'longitude' ])
into this:
self.weather = Weather(
'Villers- lès-Nancy, France',
valid_ source, self.metric_system, self.wind_unit,
self. location_ details[ 'latitude' ],
self. location_ details[ 'longitude' ])