From 3869dd6918a100c68e71e2fc6963ef60979581d2 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 22 Sep 2021 08:17:18 -0400 Subject: [PATCH] Fix imgutil capture Adding options for oshandler broke fingerprinting for capture. Fix by passing None and triggering the AttributeErrors. --- imgutil/imgutil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgutil/imgutil b/imgutil/imgutil index 5b503603..edc59bba 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -609,7 +609,7 @@ def run_constrained(function, args): def main(): if sys.argv[1] == 'getfingerprint': - print(fingerprint_host().get_json()) + print(fingerprint_host(None).get_json()) return elif sys.argv[1] == 'capturelocal': capture_system()