mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 05:07:38 +02:00
Remove redundant part of if statement
Also reorder imports.
This commit is contained in:
@@ -555,8 +555,8 @@ class Volshell(interfaces.plugins.PluginInterface):
|
||||
|
||||
for keyword, val in kwargs.items():
|
||||
if not isinstance(
|
||||
val, interfaces.configuration.BasicTypes
|
||||
) and not isinstance(val, list):
|
||||
val, (interfaces.configuration.BasicTypes, list)
|
||||
):
|
||||
if all(
|
||||
isinstance(x, interfaces.configuration.BasicTypes) for x in val
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user