diff --git a/pandora/archive/views.py b/pandora/archive/views.py index ec1c7a81..c30a45f4 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