diff --git a/pandora/archive/views.py b/pandora/archive/views.py index da4c7985..ecacf1bf 100644 --- a/pandora/archive/views.py +++ b/pandora/archive/views.py @@ -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)