diff --git a/ahtcg_bot.py b/ahtcg_bot.py index 9619db4..fb044ea 100755 --- a/ahtcg_bot.py +++ b/ahtcg_bot.py @@ -98,7 +98,7 @@ class ArkhamDBUpdater(commands.Bot): issues = [] if deck["xp"] is not None: - unspent_xp = deck["xp"] - deck["xp_spent"] + unspent_xp = deck["xp"] - (deck["xp_spent"] or 0) if unspent_xp > 0: issues.append(f"{unspent_xp} unspent XP") if deck["problem"] is not None: