From 3d3e9b02791446c6b944b8476fddaa8b1421cfe6 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 24 Feb 2022 22:27:50 +0000 Subject: [PATCH] Fix reference to get_profit in commands --- handler/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handler/commands.py b/handler/commands.py index c9ac313..c05e6ad 100644 --- a/handler/commands.py +++ b/handler/commands.py @@ -473,7 +473,7 @@ class IRCCommands(object): @staticmethod def run(cmd, spl, length, authed, msg, agora, revolut, tx, notify): - total = tx.get_profit() + total = tx.money.get_profit() msg(f"Profit: {total}USD") class tprofit(object): @@ -483,5 +483,5 @@ class IRCCommands(object): @staticmethod def run(cmd, spl, length, authed, msg, agora, revolut, tx, notify): - total = tx.get_profit(True) + total = tx.money.get_profit(True) msg(f"Profit: {total}USD")