Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-10-18 20:17:45 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-10-18 20:17:45 +0200
commitd5effa744f23472d328f71d7bda9ebd46540c265 (patch)
tree04767dd653712f5bd3795473b086be7d563b9148 /examples/guided.py
parent23365d2d8e33a3967e13ae6aa579e52a4d8ac349 (diff)
Added a JSON serializer for certain non-json objects.
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 8233a205..00d2565c 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -137,7 +137,7 @@ while 1:
except archinstall.RequirementError as e:
print(e)
-print(json.dumps(archinstall.storage['_guided'], indent=4, sort_keys=True))
+print(json.dumps(archinstall.storage['_guided'], indent=4, sort_keys=True, cls=archinstall.JSON))
"""
Issue a final warning before we continue with something un-revertable.