Skip to content

Commit

Permalink
updated script
Browse files Browse the repository at this point in the history
  • Loading branch information
neo7337 committed Oct 25, 2024
1 parent dc9e0d2 commit 626b7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def clean_data(data):
URL = treksData["meta"]["baseURL"]
KEY = treksData["meta"]["key"]
generatedTreks = []
for trekInfo in treksData.list:
for trekInfo in treksData["list"]:
generatedTreks.append({
"uuid": str(uuid.uuid4()),
"title": trekInfo["title"],
Expand Down

0 comments on commit 626b7d4

Please sign in to comment.