Skip to content

Commit

Permalink
Scipt: merge config.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
saitewasreset committed Sep 3, 2024
1 parent 049a569 commit 6b4e240
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 22 deletions.
3 changes: 0 additions & 3 deletions script/load_friends/config.json

This file was deleted.

2 changes: 1 addition & 1 deletion script/load_friends/load_friends.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
print("Loading config.json...")

try:
with open("config.json", "r", encoding="utf-8") as f:
with open("../config.json", "r", encoding="utf-8") as f:
try:
config = json.load(f)
admin_endpoint = config["admin_endpoint"]
Expand Down
3 changes: 0 additions & 3 deletions script/load_hero/config.json

This file was deleted.

2 changes: 1 addition & 1 deletion script/load_hero/load_hero.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
print("Loading config.json...")

try:
with open("config.json", "r", encoding="utf-8") as f:
with open("../config.json", "r", encoding="utf-8") as f:
try:
config = json.load(f)
admin_endpoint = config["admin_endpoint"]
Expand Down
3 changes: 0 additions & 3 deletions script/load_kpi/config.json

This file was deleted.

2 changes: 1 addition & 1 deletion script/load_kpi/load_kpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
print("Loading config.json...")

try:
with open("config.json", "r", encoding="utf-8") as f:
with open("../config.json", "r", encoding="utf-8") as f:
try:
config = json.load(f)
admin_endpoint = config["admin_endpoint"]
Expand Down
4 changes: 0 additions & 4 deletions script/load_mapping/config.json

This file was deleted.

2 changes: 1 addition & 1 deletion script/load_mapping/load_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
print("Loading config.json...")

try:
with open("config.json", "r", encoding="utf-8") as f:
with open("../config.json", "r", encoding="utf-8") as f:
try:
config = json.load(f)
admin_endpoint = config["admin_endpoint"]
Expand Down
4 changes: 0 additions & 4 deletions script/load_mission/config.json

This file was deleted.

2 changes: 1 addition & 1 deletion script/load_mission/load_mission.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
print("Loading config.json...")

try:
with open("config.json", "r", encoding="utf-8") as f:
with open("../config.json", "r", encoding="utf-8") as f:
try:
config = json.load(f)
admin_endpoint = config["admin_endpoint"]
Expand Down

0 comments on commit 6b4e240

Please sign in to comment.