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):
|
def match(self, event):
|
||||||
if self.aliases:
|
if self.aliases:
|
||||||
return event.location in self.aliases
|
return event.location.strip() in self.aliases
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user