temporary hack to ignore svg files
This commit is contained in:
parent
8b8c30d1b7
commit
957c99e57d
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user