From: Ant Zucaro Date: Tue, 7 Feb 2017 01:40:39 +0000 (-0500) Subject: Submission no longer has a meta attribute! X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e1731c520a1b7e8d799053c9ac6e588a827abfbd;p=xonotic%2Fxonstat.git Submission no longer has a meta attribute! --- 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"}