From 9191a9c1964d230b2b47e8c8e424a601ab29ec4e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 23 May 2015 11:06:22 +0200 Subject: [PATCH] extension should be lowercase --- pandora/archive/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/views.py b/pandora/archive/views.py index ec1c7a81f..c30a45f4a 100644 --- a/pandora/archive/views.py +++ b/pandora/archive/views.py @@ -204,7 +204,7 @@ def addMedia(request, data): f.path = data.get('filename', 'Untitled') extension = f.path.split('.') if len(extension) > 1: - extension = extension[-1] + extension = extension[-1].lower() else: extension = 'webm' f.selected = True