Fix edge case where the base url isnt in the badge url for some reason
This commit is contained in:
parent
ce60e60209
commit
5345b6138d
@ -95,6 +95,8 @@ async def rsi_find(player):
|
||||
.findNext("span", class_="icon")
|
||||
.findNext("img")["src"]
|
||||
)
|
||||
if base_url not in badge_url:
|
||||
badge_url = base_url + badge_url
|
||||
|
||||
badge_text = (
|
||||
soup.find("p", class_="entry")
|
||||
|
Loading…
x
Reference in New Issue
Block a user