mirror of
https://github.com/mustbeperfect/definitive-opensource.git
synced 2026-04-18 12:54:09 +02:00
Updated generation script
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import json
|
||||
|
||||
def load_data():
|
||||
with open("categories.json", "r", encoding="utf-8") as f:
|
||||
with open("source/data/categories.json", "r", encoding="utf-8") as f:
|
||||
categories_data = json.load(f)
|
||||
with open("applications.json", "r", encoding="utf-8") as f:
|
||||
with open("source/data/applications.json", "r", encoding="utf-8") as f:
|
||||
applications_data = json.load(f)
|
||||
return categories_data, applications_data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user