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