diff --git a/labonneboite/common/models/office.py b/labonneboite/common/models/office.py index ead81582b..665c06708 100644 --- a/labonneboite/common/models/office.py +++ b/labonneboite/common/models/office.py @@ -236,8 +236,7 @@ def address_as_text(self): @property def phone(self): - # FIXME ''.isspace() == False o_O - has_phone = self.tel and not self.tel.isspace() + has_phone = self.tel and self.tel.strip() if has_phone: # not sure why, the import botched the phone number... if self.tel[-2] == '.':