From a20889dc5d0f7415a0c3ce04a595cce73805c03b Mon Sep 17 00:00:00 2001 From: Santiago Valenzuela Date: Sat, 28 Nov 2020 17:46:12 -0600 Subject: [PATCH] Fix typo (#84) Co-authored-by: Santiago Valenzuela --- database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database.py b/database.py index 4264366..cbc9457 100644 --- a/database.py +++ b/database.py @@ -190,7 +190,7 @@ class Transaction(DeferredReflection, TableDeclarativeBase): def text(self, w: "worker.Worker"): string = f"T{self.transaction_id} | {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: