mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 02:57:17 +00:00
Add odt and ods mime types to our list.
Maybe this should just be read in from the real list...
This commit is contained in:
@@ -84,6 +84,8 @@ def getmimetype(path):
|
||||
if path.endswith(".3d"): return "application/x-survex-3d"
|
||||
if path.endswith(".pos"): return "application/x-survex-pos"
|
||||
if path.endswith(".err"): return "application/x-survex-err"
|
||||
if path.endswith(".odt"): return "application/vnd.oasis.opendocument.text"
|
||||
if path.endswith(".ods"): return "application/vnd.oasis.opendocument.spreadsheet"
|
||||
return ""
|
||||
|
||||
@login_required_if_public
|
||||
|
||||
Reference in New Issue
Block a user