From 065ca125f4f6bbb20e0658b8181ad93aa3220c5e Mon Sep 17 00:00:00 2001 From: kevincaires Date: Wed, 24 Aug 2022 23:24:39 -0300 Subject: [PATCH] FIX IMAGE_TYPES tuple. --- settings/config.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/settings/config.py b/settings/config.py index 10ce945..849eb3f 100644 --- a/settings/config.py +++ b/settings/config.py @@ -91,4 +91,10 @@ logger.dictConfig(LOGGING_CONFIG) # Tuple of image type on image links. # e.g: https://cdn.discordapp.com/attachments/720808802340962357/988542480981061702/cat.jpeg # e.g: https://cdn.discordapp.com/attachments/720808802340962357/988542480981061702/unknow.png -IMAGE_TYPES = ('jpeg','jpg','png') +IMAGE_TYPES = ( + '.jpeg', + '.jpg', + '.png', + '.mp4', + '.gif', +)