Formatting fixes

This commit is contained in:
Andrew Case
2024-10-14 13:48:00 -05:00
parent 2c73d8812a
commit a8c6db2fc4
@@ -47,13 +47,17 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface):
try:
primary = self.context.layers[self.config["primary"]]
except KeyError:
vollog.error("Unable to obtain primary layer for scanning. Please file a bug on GitHub about this issue.")
vollog.error(
"Unable to obtain primary layer for scanning. Please file a bug on GitHub about this issue."
)
return
try:
phys_layer = primary.config["memory_layer"]
except KeyError:
vollog.error("Unable to obtain memory layer from primary layer. Please file a bug on GitHub about this issue.")
vollog.error(
"Unable to obtain memory layer from primary layer. Please file a bug on GitHub about this issue."
)
return
layer = self.context.layers[phys_layer]