mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-11-02 10:36:55 +00:00
converted to python 3,
fixed warnings for django 1.10
This commit is contained in:
1 parent
af1ba13d86
commit
267a2d410c
6 files changed
+29
-23
No files matched your search
+1
-1
@@ -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