Archived
1
0

update supported thumbnail types

This commit is contained in:
Jeff Becker 2016-11-06 10:50:12 -05:00
parent dac258a978
commit 514064ce5a
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -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):