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(+) 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-70-g09d2