From 599eba484900472c02220a81df0fdb0864f83df4 Mon Sep 17 00:00:00 2001 From: Santiago Valenzuela Date: Sat, 28 Nov 2020 15:31:18 -0600 Subject: [PATCH] Fixed typo. --- 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: