1
0
Fork 0
mirror of synced 2024-06-26 10:10:44 +12:00

Removed erroneous loop, as it was no longer being used

This commit is contained in:
Phxntxm 2016-10-31 14:38:59 -05:00
parent a0327cee61
commit 48f5a0c262

View file

@ -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('-', ''))