converted to python 3,

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

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