diff --git a/volatility3/framework/plugins/windows/prefetch.py b/volatility3/framework/plugins/windows/prefetch.py index 6e74f466f..a5f054f15 100644 --- a/volatility3/framework/plugins/windows/prefetch.py +++ b/volatility3/framework/plugins/windows/prefetch.py @@ -3,14 +3,19 @@ # https://github.com/libyal/libscca/blob/main/documentation/Windows%20Prefetch%20File%20(PF)%20format.asciidoc # https://github.com/volatilityfoundation/volatility3/ # https://github.com/EricZimmerman/Prefetch/tree/master/Prefetch -import logging, pathlib, datetime, io, struct +import logging +import pathlib +import datetime +import io +import struct + from volatility3.framework import renderers, interfaces, exceptions, constants from volatility3.framework.configuration import requirements from volatility3.plugins.windows import filescan from volatility3.framework.renderers import format_hints, conversion +from typing import Tuple, List, Union vollog = logging.getLogger(__name__) -from typing import Tuple, List, Union class BitStream: @@ -498,7 +503,7 @@ class Prefetch(interfaces.plugins.PluginInterface): bytes_read += len(prefetch_raw) vollog.info(f"Read {bytes_read}") if not bytes_read: - vollog.info(f"Prefetch is empty") + vollog.info("Prefetch is empty") else: """Prefetch parsing""" for result in self.parse_prefetch(prefetch_raw):