mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 14:17:19 +00:00
converted to python 3,
fixed warnings for django 1.10
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user