From 6fb2d9f4ec3842291cef97ac2bf6398c50581b86 Mon Sep 17 00:00:00 2001 From: Alexandre B A Villares <3694604+villares@users.noreply.github.com> Date: Tue, 1 Sep 2020 23:47:06 -0300 Subject: [PATCH] added SVG to image extensions --- admin_scripts/helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/admin_scripts/helpers.py b/admin_scripts/helpers.py index 80eb1f69..7e110245 100644 --- a/admin_scripts/helpers.py +++ b/admin_scripts/helpers.py @@ -26,6 +26,7 @@ def is_img_ext(file_name): 'gif', 'tif', 'tga', + 'svg', ) return ext.lower() in valid_ext