Skip to content

Commit

Permalink
fix(Issue): Fixed missing image attribute in variant covers
Browse files Browse the repository at this point in the history
Closes #4
  • Loading branch information
pruizlezcano committed Dec 8, 2023
1 parent 0e1cd23 commit 793f0b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/comicgeeks/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,7 @@ def _get_data(self):
if variant_covers:
for variant in variant_covers.find_all(class_="text-center"):
img = variant.find("img")
img = img.attrs if img else {}
covers.append(
{
"name": img["alt"],
Expand Down

0 comments on commit 793f0b5

Please sign in to comment.