Fix reference to get_profit in commands

This commit is contained in:
Mark Veidemanis 2022-02-24 22:27:50 +00:00
parent a08e6570ed
commit 3d3e9b0279
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 2 deletions

View File

@ -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")