Skip to content

Commit

Permalink
wrong way
Browse files Browse the repository at this point in the history
  • Loading branch information
jjshoots committed Feb 29, 2024
1 parent 2671606 commit b58da39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ packages = [
"ale_py.roms",
]
package-dir = {ale_py = "src/python"}
package-data = {"ale_py" = ["py.typed", "*.pyi", "**/*.pyi"], "ale_py.roms" = ["md5.json"]}
package-data = {"ale_py" = ["py.typed", "*.pyi", "**/*.pyi"], "ale_py.roms" = ["md5.json", "Roms.tar.gz"]}

[tool.pytest.ini_options]
minversion = "7.0"
Expand Down
2 changes: 1 addition & 1 deletion src/python/roms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _unpack_roms() -> None:
all_roms = _get_all_rom_hashes()

# iterate through each file in the tar
with tarfile.open(name=Path(__file__).parent / "Roms.tar.gz", "wb") as tar_fp:
with tarfile.open(name=Path(__file__).parent / "Roms.tar.gz") as tar_fp:
for member in tar_fp.getmembers():
# ignore if this is not a valid bin file
if not (member.isfile() and member.name.endswith(".bin")):
Expand Down

0 comments on commit b58da39

Please sign in to comment.