From 1a5c89eccaab456cfee020550d3558f93cb20a55 Mon Sep 17 00:00:00 2001 From: Ayush Saini <36878972+imayushsaini@users.noreply.github.com> Date: Sun, 29 May 2022 13:41:26 +0530 Subject: [PATCH] Update mystats.py --- dist/ba_root/mods/stats/mystats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/ba_root/mods/stats/mystats.py b/dist/ba_root/mods/stats/mystats.py index 789253b..e6eda33 100644 --- a/dist/ba_root/mods/stats/mystats.py +++ b/dist/ba_root/mods/stats/mystats.py @@ -322,7 +322,7 @@ def updateTop3Names(ids): if data is not None: try: name = json.loads(data.read())["profileDisplayString"] - if (not value): + if (not name): raise ValueError except ValueError: names.append("???")