Update badges.py
This commit is contained in:
parent
3045acfabb
commit
025713e25b
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ class Badge(Base):
|
|||
@property
|
||||
@lazy
|
||||
def name(self):
|
||||
return self.badge.name
|
||||
return ""
|
||||
|
||||
@property
|
||||
@lazy
|
||||
|
@ -70,4 +70,4 @@ class Badge(Base):
|
|||
'name': self.name,
|
||||
'url': self.url,
|
||||
'icon_url':f"{SITE_FULL}{self.path}"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue