amélioration de la détection des alias de places

This commit is contained in:
Jean-Marie Favreau 2024-07-07 12:27:14 +02:00
parent 8e4995558f
commit 9c6fa7d5ce

View File

@ -257,7 +257,7 @@ class Place(models.Model):
def match(self, event):
if self.aliases:
return event.location in self.aliases
return event.location.strip() in self.aliases
else:
return False