mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
whelp
This commit is contained in:
parent
3e5afe17aa
commit
5fff77d45b
1 changed files with 1 additions and 1 deletions
2
db.py
2
db.py
|
@ -258,7 +258,7 @@ class Dota(Base):
|
|||
|
||||
def get_rank_icon_url(self):
|
||||
if self.rank_tier is None or self.rank_tier < 10:
|
||||
f"https://www.opendota.com/assets/images/dota2/rank_icons/rank_icon_0.png"
|
||||
return f"https://www.opendota.com/assets/images/dota2/rank_icons/rank_icon_0.png"
|
||||
return f"https://www.opendota.com/assets/images/dota2/rank_icons/rank_icon_{self.rank_tier - 10 // 6}.png"
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in a new issue