Skip to content

Commit

Permalink
fixed duplicate file names for projects in yml and js format
Browse files Browse the repository at this point in the history
  • Loading branch information
povilaskarvelis committed Jun 21, 2024
1 parent b51c490 commit 73a633e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/fetch_gh_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def fetch_gh_issues():
pass

# Write the filtered issue information to a JSON file
with open('./_data/projects.json', 'w') as f:
with open('./_data/discord_projects.json', 'w') as f:
json.dump(issues_list, f, indent=2)

# Run the fetch_gh_issues function if the script is executed directly
Expand Down
2 changes: 1 addition & 1 deletion scripts/projects_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ async def on_ready(self):

async def ensure_projects(self):
# Load project data from JSON file
with open('_data/projects.json', 'r') as f:
with open('_data/discord_projects.json', 'r') as f:
projects_data = json.load(f)

for i, data in enumerate(projects_data):
Expand Down

0 comments on commit 73a633e

Please sign in to comment.