From e1731c520a1b7e8d799053c9ac6e588a827abfbd Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Mon, 6 Feb 2017 20:40:39 -0500 Subject: [PATCH] Submission no longer has a meta attribute! --- xonstat/views/submission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xonstat/views/submission.py b/xonstat/views/submission.py index 89c43d1..0307ca1 100644 --- a/xonstat/views/submission.py +++ b/xonstat/views/submission.py @@ -253,7 +253,7 @@ class Submission(object): def elo_submission_category(submission): """Determines the Elo category purely by what is in the submission data.""" - mod = submission.meta.get("O", "None") + mod = submission.mod vanilla_allowed_weapons = {"shotgun", "devastator", "blaster", "mortar", "vortex", "electro", "arc", "hagar", "crylink", "machinegun"} -- 2.39.2