forked from rDrama/rDrama
same as last commit
parent
a4f2260787
commit
7c1b6eac77
|
@ -68,11 +68,10 @@ class Badge(Base):
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def text(self):
|
def text(self):
|
||||||
if self.badge_id == 28:
|
if self.until:
|
||||||
if self.until: text = self.badge.description + " until"
|
|
||||||
else: text = self.badge.description + " permanently"
|
|
||||||
elif self.until:
|
|
||||||
text = self.badge.description + " until"
|
text = self.badge.description + " until"
|
||||||
|
elif self.badge_id == 28:
|
||||||
|
text = self.badge.description + " permanently"
|
||||||
elif self.description:
|
elif self.description:
|
||||||
text = self.description
|
text = self.description
|
||||||
elif self.badge.description:
|
elif self.badge.description:
|
||||||
|
|
Loading…
Reference in New Issue