diff options
Diffstat (limited to 'jfr_playoff/data/match/tcjson.py')
-rw-r--r-- | jfr_playoff/data/match/tcjson.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/jfr_playoff/data/match/tcjson.py b/jfr_playoff/data/match/tcjson.py index 2c4ea0a..ade7704 100644 --- a/jfr_playoff/data/match/tcjson.py +++ b/jfr_playoff/data/match/tcjson.py @@ -38,12 +38,7 @@ class TCJsonMatchInfo(MatchInfoClient): p_remote.fetch_raw( self._get_results_link( 'o%d-%d.json' % (session_no, round_no)))) - tables = [] - for result in round_results['Results']: - tables.append(result['Table']) - table_id = sorted(tables)[table_no-1] - PlayoffLogger.get('match.tcjson').info( - 'table no %d from %s: %s', table_no, tables, table_id) + table_id = str(table_no) for result in round_results['Results']: if result['Table'] == table_id: return result |