Skip to content

Commit 1a08225

Browse files
authored
Fix readme example
1 parent 9962a27 commit 1a08225

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ from ext4 import Volume
99
# Extract raw ext4 image
1010
with open("image.ext4", "rb") as f:
1111
# Extract specific file
12-
volume = Volume(image, offset=0)
12+
volume = Volume(f, offset=0)
1313
inode = volume.inode_at("/etc/version")
1414
with open("version", "wb") as f:
1515
f.write(inode.open().read())

0 commit comments

Comments
 (0)