From 2831c97338ca3b60dc1c697d158cd3f6281746d7 Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Wed, 25 Oct 2023 03:27:18 -0400 Subject: Fix password preview (#2190) --- archinstall/lib/output.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archinstall/lib/output.py') diff --git a/archinstall/lib/output.py b/archinstall/lib/output.py index 945a6c4f..62a1ba27 100644 --- a/archinstall/lib/output.py +++ b/archinstall/lib/output.py @@ -38,6 +38,8 @@ class FormattedOutput: raise ValueError('Unsupported formatting call') elif hasattr(o, 'table_data'): return o.table_data() + elif hasattr(o, 'json'): + return o.json() elif is_dataclass(o): return asdict(o) else: -- cgit v1.2.3-54-g00ecf