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.
value = unicode(value, 'utf-8')\r
\r
if key in 'V' 'T' 'G' 'M' 'S' 'C' 'R' 'W' 'I':\r
+ # FIXME: hotfix for malformed numbers in the match_id\r
+ if key == 'I' and value.startswith('0.'):\r
+ value = value[2:]\r
+\r
game_meta[key] = value\r
\r
if key == 'P':\r