forked from MarseyWorld/MarseyWorld
fix improper % placement
parent
3287053ab3
commit
37127c83f1
|
@ -453,7 +453,7 @@ class User(Base):
|
|||
@lazy
|
||||
def formatted_discount(self):
|
||||
discount = 100 - int(self.discount * 100)
|
||||
return f'%{discount}'
|
||||
return f'{discount}%'
|
||||
|
||||
@property
|
||||
@lazy
|
||||
|
|
Loading…
Reference in New Issue