update supported thumbnail types
This commit is contained in:
parent
dac258a978
commit
514064ce5a
@ -1,7 +1,7 @@
|
|||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
import subprocess
|
import subprocess
|
||||||
import os
|
import os
|
||||||
img_ext = ['png', 'jpg', 'jpeg', 'gif', 'webp', 'ico', 'pdf', 'ps']
|
img_ext = ['png', 'jpg', 'jpeg', 'gif', 'webp', 'ico']
|
||||||
vid_ext = ['mp4', 'webm', 'm4v', 'ogv', 'avi', 'txt']
|
vid_ext = ['mp4', 'webm', 'm4v', 'ogv', 'avi', 'txt']
|
||||||
|
|
||||||
def generate(fname, tname, placeholder):
|
def generate(fname, tname, placeholder):
|
||||||
|
Reference in New Issue
Block a user