fnp
/
audio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to Django 1.11 and Celery 4.2.
[audio.git]
/
src
/
archive
/
views.py
diff --git
a/src/archive/views.py
b/src/archive/views.py
index
b5850a0
..
31ea9c3
100644
(file)
--- 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'
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():
if request.POST:
form = AudiobookForm(request.POST)
if form.is_valid():