index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/output.py | 4 |
diff --git a/archinstall/lib/output.py b/archinstall/lib/output.py index 29b73bc4..e2b38ce6 100644 --- a/archinstall/lib/output.py +++ b/archinstall/lib/output.py @@ -11,7 +11,9 @@ class FormattedOutput: @classmethod def values(cls, o: Any) -> Dict[str, Any]: - if hasattr(o, 'json'): + if hasattr(o, 'as_json'): + return o.as_json() + elif hasattr(o, 'json'): return o.json() else: return o.__dict__ |