Removed erroneous loop, as it was no longer being used
This commit is contained in:
parent
a0327cee61
commit
48f5a0c262
1 changed files with 0 additions and 3 deletions
|
@ -56,9 +56,6 @@ class Overwatch:
|
|||
data = await r.json()
|
||||
|
||||
output_data = [(k.title().replace("_", " "), r) for k, r in data['game_stats'].items() if k in check_g_stats]
|
||||
for k, r in data['overall_stats'].items():
|
||||
if k in check_o_stats:
|
||||
output_data[k.title().replace("_", " ")] = r
|
||||
else:
|
||||
# If there was a hero provided, search for a user's data on that hero
|
||||
url = base_url + "{}/heroes/{}".format(bt, hero.lower().replace('-', ''))
|
||||
|
|
Loading…
Reference in a new issue