make derivatives more generic

This commit is contained in:
j 2011-02-06 18:10:28 +05:30
commit b563afcfc8
7 changed files with 34 additions and 41 deletions

View file

@ -161,8 +161,6 @@ class VideoChunkForm(forms.Form):
@login_required_json
def firefogg_upload(request):
profile = request.GET['profile']
if profile.endswith('.webm'):
profile = os.path.splitext(profile)[0]
oshash = request.GET['oshash']
#handle video upload
if request.method == 'POST':