temporary hack to ignore svg files
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user