Skip to content

Commit

Permalink
[Fix] Unify Resources Folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Rixxan committed Jan 4, 2024
1 parent 620188a commit bcb8a4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edshipyard.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
ship_map = ship_name_map.copy()

# Ship masses
ships_file = config.respath_path / "resources" / "ships.json"
ships_file = config.respath_path / "ships.json"
with open(ships_file, encoding="utf-8") as ships_file_handle:
ships = json.load(ships_file_handle)

Expand Down
2 changes: 1 addition & 1 deletion outfitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def lookup(module, ship_map, entitled=False) -> dict | None: # noqa: C901, CCR0
"""
# Lazily populate
if not moduledata:
modules_path = config.respath_path / "resources" / "modules.json"
modules_path = config.respath_path / "modules.json"
moduledata.update(json.loads(modules_path.read_text()))

if not module.get('name'):
Expand Down

0 comments on commit bcb8a4a

Please sign in to comment.