]> git.rm.cloudns.org Git - xonotic/xonstat.git/commit
Hotfix for malformed match_ids: remove leading '0.'.
authorAnt Zucaro <azucaro@gmail.com>
Tue, 6 Dec 2011 17:30:06 +0000 (12:30 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Tue, 6 Dec 2011 17:30:06 +0000 (12:30 -0500)
commit50b7b31dfb35f91f6f1827bb7b2664563143c68d
tree6db4cfd7fe122172badd8a868e4353100713caa1
parentcc9c34d002891a4fdb916f40b41fabb7d4e4a6df
Hotfix for malformed match_ids: remove leading '0.'.

Match ids are coming in as 0.1234.5678, which doesn't resolve to a
number. This commit identifies such malformed numbers and removes their
leading '0.'s. This is an ugly fix, but hopefully someone can address
the source of that number for the permanent fix.
xonstat/views/submission.py