amélioration de la détection des alias de places
This commit is contained in:
parent
8e4995558f
commit
9c6fa7d5ce
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user