Fix opérateur comparaison
This commit is contained in:
parent
88bd0e9e6d
commit
c47a4eaba0
@ -967,7 +967,7 @@ class Event(models.Model):
|
||||
for attr in Event.data_fields(all=True, local_img=False, exact_location=False):
|
||||
values = [getattr(e, attr) for e in events]
|
||||
values = ["" if v is None else v for v in values]
|
||||
values = [[] if attr == "tags" and v is "" else v for v in values]
|
||||
values = [[] if attr == "tags" and v == "" else v for v in values]
|
||||
# only consider fixed part of Facebook urls
|
||||
if attr == "image":
|
||||
values = [v.split("?")[0] if "fbcdn.net" in v else v for v in values]
|
||||
|
Loading…
Reference in New Issue
Block a user