Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: