Skip to content

Commit 407f734

Browse files
author
Álvaro Justen aka Turicas
committedAug 23, 2013
Fixes variable name
1 parent 9cf8820 commit 407f734

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎render_report.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def get_project_variables(project_path):
3535
ratios = file_ratio_data[1:]
3636
ratios.sort(key=lambda x: x[headers.index('ratio')])
3737
ratios = [dict(zip(headers, row)) for row in ratios]
38-
variables['best_files_tag'] = tag[0]['name']
39-
variables['worst_files_tag'] = tag[0]['name']
38+
variables['best_files_tag'] = tags[0]['name']
39+
variables['worst_files_tag'] = tags[0]['name']
4040
variables['best_files'] = ratios[:10]
4141
variables['worst_files'] = ratios[-10:]
4242
variables['ratios'] = ratios

0 commit comments

Comments
 (0)