fix improper % placement

master
Aevann 2023-05-14 18:59:30 +03:00
parent 3287053ab3
commit 37127c83f1
1 changed files with 1 additions and 1 deletions

View File

@ -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