Try plain text mime type

main
Bob Mottram 2022-07-21 11:29:21 +01:00
parent 35220e5e94
commit e533f7200c
1 changed files with 1 additions and 1 deletions

View File

@ -1422,7 +1422,7 @@ def save_media_in_form_post(media_bytes, debug: bool,
'opus': 'audio/opus',
'flac': 'audio/flac',
'zip': 'application/zip',
'csv': 'text/csv'
'csv': 'text/plain'
}
detected_extension = None
for extension, content_type in extension_list.items():