fix
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 13 Jun 2011 09:10:39 +0000 (11:10 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 13 Jun 2011 09:10:39 +0000 (11:10 +0200)
apps/archive/views.py

index 5638f62..df8fb77 100644 (file)
@@ -27,7 +27,7 @@ def list_new(request):
 def file_new(request, filename):
     division = 'new'
 
 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():
     if request.POST:
         form = AudiobookForm(request.POST)
         if form.is_valid():