mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
Refactoring codebase to remove .decode()
This commit is contained in:
@@ -29,4 +29,4 @@ class RecentComics(Feed):
|
||||
|
||||
# item_link is only needed if NewsItem has no get_absolute_url method.
|
||||
def item_link(self, item: ComicBook) -> str:
|
||||
return '/comic/read/{0}/0/'.format(urlsafe_base64_encode(item.selector.bytes).decode())
|
||||
return '/comic/read/{0}/0/'.format(urlsafe_base64_encode(item.selector.bytes))
|
||||
|
||||
Reference in New Issue
Block a user