Commit 93d12729 authored by fred's avatar fred

Revert "encode filenames in utf-8"

Forgot to revert this one
parent fbd0ff10
......@@ -203,7 +203,7 @@ class UploadTracksView(FormView):
datetime.datetime.today().strftime('%y%m%d'),
artist_name[:50].replace('/', ' ').strip(),
track_title[:80].replace('/', ' ').strip(),
os.path.splitext(f.name)[-1]).encode('utf-8')
os.path.splitext(f.name)[-1])
default_storage.save(os.path.join('nonstop', 'tracks', filepath), content=f)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment