Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodefiles <11915375+codefiles@users.noreply.github.com>2023-10-25 03:27:18 -0400
committerGitHub <noreply@github.com>2023-10-25 09:27:18 +0200
commit2831c97338ca3b60dc1c697d158cd3f6281746d7 (patch)
treeb25ff1240a9668ad18e0de2969abf6b4d0a3d1e2
parent474861c15516cc046758cc9b148ce2608dd1c9be (diff)
Fix password preview (#2190)
-rw-r--r--archinstall/lib/output.py2
1 files changed, 2 insertions, 0 deletions
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: