strip container from profile

This commit is contained in:
j 2010-09-05 23:08:05 +02:00
parent 3cdd52912e
commit c9c597b378

View file

@ -198,10 +198,11 @@ 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':
#post next chunk
if 'chunk' in request.FILES and oshash:
f = get_object_or_404(models.File, oshash=oshash)