Commit 72e807db authored by fred's avatar fred

add missing imports

parent f7b92b94
from datetime import datetime, timedelta, time
import os
import re
import subprocess
from PIL import Image
from django.utils.encoding import force_text
def get_duration(filename):
p = subprocess.Popen(['mediainfo', '--Inform=Audio;%Duration%', filename],
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment