From 75e04c73492fb2708a17c96202f27339421810a7 Mon Sep 17 00:00:00 2001 From: Davis Raymond Muro Date: Mon, 20 Apr 2020 12:33:57 +0300 Subject: [PATCH] Add file to the KNOWN_MEDIA_TYPES list --- onadata/libs/utils/common_tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onadata/libs/utils/common_tags.py b/onadata/libs/utils/common_tags.py index de7bbfa669..3147a2c7df 100644 --- a/onadata/libs/utils/common_tags.py +++ b/onadata/libs/utils/common_tags.py @@ -90,7 +90,7 @@ OWNER_TEAM_NAME = "Owners" API_TOKEN = 'api-token' -KNOWN_MEDIA_TYPES = ['photo', 'image', 'audio', 'video'] +KNOWN_MEDIA_TYPES = ['photo', 'image', 'audio', 'video', 'file'] MEDIA_FILE_TYPES = { "image": ["image/png", "image/jpeg", "image/jpg"], "audio": ["audio/mp3", "audio/mp4"],