changed directory for json files

This commit is contained in:
IM23a-bachmannj2
2024-09-16 11:24:21 +02:00
parent 7748432913
commit b0d74ddf6a
5 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import json
app = Flask(__name__)
# Load the data from the JSON file
with open('static/data.json') as f:
with open('static/json/data.json') as f:
guns = json.load(f)