1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-21 21:44:19 +00:00

Fixed typo.

This commit is contained in:
Santiago Valenzuela 2020-11-28 15:31:18 -06:00
parent 69dfbc15c0
commit 599eba4849

View file

@ -190,7 +190,7 @@ class Transaction(DeferredReflection, TableDeclarativeBase):
def text(self, w: "worker.Worker"):
string = f"<b>T{self.transaction_id}</b> | {str(self.user)} | {w.Price(self.value)}"
if self.refunded:
string += f" | {w.loc['emoji_refunded']}"
string += f" | {w.loc.get('emoji_refunded')}"
if self.provider:
string += f" | {self.provider}"
if self.notes: