Up to date

This commit is contained in:
FrederikBaerentsen 2024-02-29 07:24:47 -05:00
parent ac0d3058d7
commit afe52011e4
2 changed files with 5 additions and 2 deletions

5
app.py
View File

@ -11,8 +11,11 @@ def index():
info_file = json.loads(info.read())
with open('./sets/'+tmp+'/inventory.json') as inventory:
inventory_file = json.loads(inventory.read())
with open('./info/'+tmp+'.json') as info:
json_file = json.loads(info.read())
return render_template('bootstrap_table.html', title=info_file['set_num']+" - "+info_file['name'],
info_file=info_file,inventory_file=inventory_file)
info_file=info_file,inventory_file=inventory_file,json_file=json_file)
#return render_template('index.html')

View File

@ -39,4 +39,4 @@
{% endfor %}
</tbody>
</table>
{% endblock %}
{% endblock %}