Fix black pre-commit

This commit is contained in:
Luke Robles 2024-01-03 15:09:35 -08:00
parent cce113de16
commit e6320e5cfb
2 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
repos: repos:
- repo: https://github.com/ambv/black - repo: https://github.com/ambv/black
rev: 23.10.1 rev: 23.10.1
hooks: hooks:
- id: black - id: black
language_version: python3.11.6 language_version: python3.11.7

View File

@ -165,9 +165,9 @@ async def rsi_find(player):
except Exception: except Exception:
pass pass
org_logo = ( org_logo = org_soup.find("div", class_="inner").findNext("img")["src"]
base_url + org_soup.find("div", class_="inner").findNext("img")["src"] if "robertsspaceindustries.com" not in org_logo:
) org_logo = base_url + org_logo
org_member_count = org_soup.find("span", class_="count").text org_member_count = org_soup.find("span", class_="count").text