Skip to content

Commit 6c0ce1d

Browse files
committed
Volshell: Typo Fixes #958
1 parent 1ff2d80 commit 6c0ce1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

volatility3/cli/volshell/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def run_script(self, location: str):
480480
accessor = resources.ResourceAccessor()
481481
with accessor.open(url=location) as fp:
482482
self.__console.runsource(
483-
io.TextIOWrapper(fp.read(), encoding="utf-8"), symbol="exec"
483+
io.TextIOWrapper(fp, encoding="utf-8").read(), symbol="exec"
484484
)
485485
print("\nCode complete")
486486

0 commit comments

Comments
 (0)