remove sillycode

main
Ryan Rix 2017-07-01 19:51:30 -07:00
parent fcf2413d8d
commit 43b8171dd8
1 changed files with 3 additions and 10 deletions

View File

@ -9,16 +9,9 @@ CACHE_LOCATION='/tmp/runs.json'
def inject_run_class(runs, selected_runs):
output = list()
for run in raw_data:
run = run['fields']
d = {
'time': arrow.get(run['starttime']).format('HH:mm:ss'),
'estimate': run['run_time'],
'name': run['name'],
'category': run['category'],
'runners': run['deprecated_runners'] #lol
}
output.append(d)
for run in runs:
# munge run
output.append(run)
return output