diff --git a/labonneboite/common/models/office.py b/labonneboite/common/models/office.py index 054526ceb..035937f10 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] == '.':