mirror of
https://github.com/barberd/macmfsextract.git
synced 2025-03-11 11:30:51 +00:00
Add files via upload
Changed to open file in read only mode, not read-write mode.
This commit is contained in:
parent
b52ed9a7fb
commit
eeeb7a61a4
@ -19,7 +19,7 @@ import math
|
||||
filename=sys.argv[1]
|
||||
|
||||
file_size = os.path.getsize(filename)
|
||||
fh=open(filename,"r+b")
|
||||
fh=open(filename,"rb")
|
||||
|
||||
fh.seek(1026)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user