Pointed script to new directory for data

This commit is contained in:
Lucas
2026-01-01 21:49:36 -08:00
parent 5773a3e8c3
commit 58bd427b28
7 changed files with 18 additions and 18 deletions

View File

@@ -4,7 +4,7 @@ import json
from datetime import datetime
import os
with open('core/data/dynamic/applications.json', 'r') as f:
with open('../../data/dynamic/applications.json', 'r') as f:
data = json.load(f)
GITHUB_TOKEN = os.getenv('GITHUB_TOKEN')
@@ -57,7 +57,7 @@ def update_application_data(app):
for app in data['applications']:
app = update_application_data(app)
with open('core/data/dynamic/applications.json', 'w') as f:
with open('../../data/dynamic/applications.json', 'w') as f:
json.dump(data, f, indent=4)
print("Updated application data successfully!")