parent
68efcc74fb
commit
6eb5fa7ac7
@ -777,7 +777,7 @@ class ComicVineTalker:
|
||||
# This async version requires the issue page url to be provided!
|
||||
self.issue_id = issue_id
|
||||
url_list = self.fetch_cached_alternate_cover_urls(issue_id)
|
||||
if url_list is not None:
|
||||
if url_list:
|
||||
ComicVineTalker.alt_url_list_fetch_complete(url_list)
|
||||
return
|
||||
|
||||
|
@ -215,7 +215,7 @@ class CoverImageWidget(QtWidgets.QWidget):
|
||||
comic_vine.async_fetch_alternate_cover_urls(utils.xlate(self.issue_id), cast(str, issue_page_url))
|
||||
|
||||
def alt_cover_url_list_fetch_complete(self, url_list: list[str]) -> None:
|
||||
if len(url_list) > 0:
|
||||
if url_list:
|
||||
self.url_list.extend(url_list)
|
||||
self.imageCount = len(self.url_list)
|
||||
self.update_controls()
|
||||
|
Loading…
Reference in New Issue
Block a user