We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ff2d80 commit 6c0ce1dCopy full SHA for 6c0ce1d
volatility3/cli/volshell/generic.py
@@ -480,7 +480,7 @@ def run_script(self, location: str):
480
accessor = resources.ResourceAccessor()
481
with accessor.open(url=location) as fp:
482
self.__console.runsource(
483
- io.TextIOWrapper(fp.read(), encoding="utf-8"), symbol="exec"
+ io.TextIOWrapper(fp, encoding="utf-8").read(), symbol="exec"
484
)
485
print("\nCode complete")
486
0 commit comments