Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Update create_redirections.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vabarbosa committed Apr 12, 2023
1 parent 1b3bd13 commit 389ca88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create_redirections.py
Expand Up @@ -45,6 +45,6 @@ def create_redirection (buildpath, old, new, overwrite=False):
overwrite = sys.argv[1] == overwrite_option
base_dir = sys.argv[1] if not overwrite else sys.argv[2]

LEARN_REDIRECTIONS= json.load(open('learn_redirections.json', 'r'))
LEARN_REDIRECTIONS= json.load(open('./learn_redirections.json', 'r'))
for (old, new) in LEARN_REDIRECTIONS.items():
create_redirection(base_dir, old, new, overwrite=overwrite)

0 comments on commit 389ca88

Please sign in to comment.