Skip to content

Commit

Permalink
Merge pull request #1 from EndangeredNayla/master
Browse files Browse the repository at this point in the history
Fix gciso CLI write subcommand
  • Loading branch information
pfirsich committed Apr 29, 2023
2 parents eb6cef1 + 9634b59 commit 01b8a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gciso/cli.py
Expand Up @@ -12,7 +12,7 @@ def write(isoFile, internalFile, srcFile, offset=0, banner=False):
if banner:
raise NotImplementedError("Writing banners is not implemented yet!")
with gciso.IsoFile(isoFile) as iso, open(srcFile, "rb") as src:
iso.writeFile(internalFile, offset, srcFile.read())
iso.writeFile(internalFile, offset, src.read())

# gciso read isofile internalfile dstfile [--offset X] [--length X] [--banner]
def read(isoFile, internalFile, dstFile, offset=0, length=None, banner=False):
Expand Down

0 comments on commit 01b8a93

Please sign in to comment.