temporary hack to ignore svg files

This commit is contained in:
Jean-Marie Favreau 2025-03-16 06:06:47 +01:00
parent 8b8c30d1b7
commit 957c99e57d

View File

@ -1328,6 +1328,7 @@ class Event(models.Model):
pass
ext = basename.split(".")[-1]
if ext[:3].lower() != "svg": # temporary hack to ignore svg files
filename = "%s.%s" % (uuid.uuid4(), ext)
try: