From 13823f3793821f7188f0b039bb80992c28c2cf34 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Wed, 14 Jun 2023 14:03:18 -0700 Subject: [PATCH] Change net_gain to Net_profit so it makes sense --- app/star_citizen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/star_citizen.py b/app/star_citizen.py index 01f8a49c..d35b25f3 100644 --- a/app/star_citizen.py +++ b/app/star_citizen.py @@ -257,13 +257,13 @@ async def calculate_trade_profies(commodity, scu=None): inline=True, ) - net_gain = float(profits[max(profits, key=profits.get)]) - float( + net_profit = float(profits[max(profits, key=profits.get)]) - float( costs[min(costs, key=costs.get)] ) embed.add_field( - name="**Net Gain**", - value="$%s" % "{:20,.2f}".format(net_gain).strip(), + name="**Net Profit**", + value="$%s" % "{:20,.2f}".format(net_profit).strip(), inline=True, )