converted to python 3,

fixed warnings for django 1.10
This commit is contained in:
ajurna@gmail.com committed 2016-03-30 10:23:04 +01:00
1 parent af1ba13d86
commit 267a2d410c
6 files changed
+29 -23

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ def generate_breadcrumbs_from_path(comic_path):
bc = Breadcrumb()
bc.name = item
last = path.join(last, item)
bc.url = prefix + urlsafe_base64_encode(last)
bc.url = prefix + urlsafe_base64_encode(last.encode()).decode()
output.append(bc)
return output