mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Correct file type for shredder export zip (Fixes #1781, Z#153584)
This commit is contained in:
@@ -54,7 +54,7 @@ def export(event: Event, shredders: List[str]) -> None:
|
||||
cf = CachedFile()
|
||||
cf.date = now()
|
||||
cf.filename = event.slug + '.zip'
|
||||
cf.type = 'application/pdf'
|
||||
cf.type = 'application/zip'
|
||||
cf.expires = now() + timedelta(hours=1)
|
||||
cf.save()
|
||||
cf.file.save(cachedfile_name(cf, cf.filename), rawfile)
|
||||
|
||||
Reference in New Issue
Block a user