X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/eee35e00bf0d0eb3d2a9f08f72c7052962fecbf6..ac39503a5a9a16c1098e65ee16a866cf8eb19a8f:/src/archive/views.py?ds=sidebyside diff --git a/src/archive/views.py b/src/archive/views.py index b5850a0..31ea9c3 100644 --- a/src/archive/views.py +++ b/src/archive/views.py @@ -35,8 +35,8 @@ def list_new(request): def file_new(request, filename): division = 'new' - filepath = filename.encode('utf-8') - root_filepath = os.path.join(settings.NEW_PATH, filename.encode('utf-8')) + filepath = filename + root_filepath = os.path.join(settings.NEW_PATH, filename) if request.POST: form = AudiobookForm(request.POST) if form.is_valid():