vxc
parent
30bd0902fa
commit
be669525b3
|
@ -42,7 +42,7 @@ class Badge(Base):
|
||||||
text = self.badge['description'] + " until " + datetime.utcfromtimestamp(ti).strftime('%Y-%m-%d %H:%M:%S')
|
text = self.badge['description'] + " until " + datetime.utcfromtimestamp(ti).strftime('%Y-%m-%d %H:%M:%S')
|
||||||
elif self.description: text = self.description
|
elif self.description: text = self.description
|
||||||
elif self.badge['description']: text = self.badge['description']
|
elif self.badge['description']: text = self.badge['description']
|
||||||
else: return None
|
else: return ''
|
||||||
return f' - {text}'
|
return f' - {text}'
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue