Change split to strip. Thx Fred !

This commit is contained in:
Christophe Boulanger 2018-03-01 13:40:35 +01:00
parent 7b51559238
commit eeed2f98c3
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class ImioLiegeLisrue(BaseResource):
if self.street_with_postal_code:
street_label = u"{} - {}".format(street_label, str(item.get('codePostal'))).strip()
else:
street_label = street_label.split()
street_label = street_label.strip()
streets.append({
'id': item.get('codeRue'),
'text': street_label,