]> git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/views/submission.py
Generic game meta handling
[xonotic/xonstat.git] / xonstat / views / submission.py
index 6bcd214bc1768f61db8bf93cec00133100572a50..ca67e57192eb9921aae15d9212ae4db0dc2be7ed 100644 (file)
@@ -34,7 +34,7 @@ def parse_stats_submission(body):
             if key in 'S' 'n':\r
                 value = unicode(value, 'utf-8')\r
 \r
-            if key in 'V' 'T' 'G' 'M' 'S' 'C' 'R' 'W' 'I' 'D' 'O':\r
+            if key not in 'P' 'n' 'e' 't' 'i':\r
                 game_meta[key] = value\r
 \r
             if key == 'P':\r