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

Fix typo (#84)

Co-authored-by: Santiago Valenzuela <santiago.valenzuela@25store.us>
This commit is contained in:
Santiago Valenzuela 2020-11-28 17:46:12 -06:00 committed by GitHub
parent 69dfbc15c0
commit a20889dc5d
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

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: