diff --git a/run.py b/run.py index 515b7cb..3492425 100644 --- a/run.py +++ b/run.py @@ -37,9 +37,9 @@ with open('steam.json') as file: def root(): entries = [] - data_lst = list(data_tpl) + data_lst = sorting.nest_qsort(data_tpl, 16, True) - for x in range(0, 99): + for x in range(0, 15): entries.append(data_lst[x]) return render_template('index.html', first_entry=data_tpl[0], sizedb=len(data_tpl), entries=entries) diff --git a/templates/fulltable.html b/templates/fulltable.html index 34489f3..52e430c 100644 --- a/templates/fulltable.html +++ b/templates/fulltable.html @@ -25,7 +25,7 @@
App ID | -Name | -Users | -Release date | -Price | +App ID | +Name | +Users | +Release date | +Price | {{ row[1] }} | {{ row[16] }} | {{ row[2] }} | -{{ row[17] }} ,- | +€ {{ row[17] }} ,- | {% endfor %}
---|