From: Radek Czajka Date: Mon, 13 Jun 2011 09:10:39 +0000 (+0200) Subject: fix X-Git-Url: https://git.mdrn.pl/audio.git/commitdiff_plain/afad9e053200ae78f4fb8613bdbfcfd955f02a4f?ds=sidebyside fix --- diff --git a/apps/archive/views.py b/apps/archive/views.py index 5638f62..df8fb77 100644 --- a/apps/archive/views.py +++ b/apps/archive/views.py @@ -27,7 +27,7 @@ def list_new(request): def file_new(request, filename): division = 'new' - filepath = os.path.join(settings.NEW_PATH, filename) + filepath = os.path.join(settings.NEW_PATH, filename.encode('utf-8')) if request.POST: form = AudiobookForm(request.POST) if form.is_valid():