On autorise les png dans les ical
This commit is contained in:
parent
83bcc43e35
commit
5e246a6c78
@ -36,10 +36,12 @@ class ICALExtractor(Extractor):
|
||||
# it seems that FMTTYPE is not available through python-icalendar
|
||||
if isinstance(item, list):
|
||||
for i in item:
|
||||
if ".jpg" in str(i).lower():
|
||||
li = str(i).lower()
|
||||
if ".jpg" in li or ".png" in li:
|
||||
return str(i)
|
||||
else:
|
||||
if ".jpg" in str(item).lower():
|
||||
li = str(item).lower()
|
||||
if ".jpg" in li or ".png" in li:
|
||||
return str(item)
|
||||
return None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user