Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Schamper committed Mar 18, 2024
1 parent 683ae6d commit afac4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dissect/archive/wim.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def open(self, name: str = "") -> BinaryIO:
name: Optional alternate stream name to open.
"""
stream_hash = self.streams.get(name)
if hash is None:
if stream_hash is None:
raise FileNotFoundError(f"Stream not found in directory entry {self}: {name!r}")

for resource in self.image.wim.resources():
Expand Down

0 comments on commit afac4c0

Please sign in to comment.