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:32:26 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-10-18 20:32:26 +0200
commit58201d723465517dbe467715d57e46f73241a0dd (patch)
treecc59768155cc53b2a30c5dd7ec02c9da1516a737 /examples/guided.py
parent1bd6a19dc46d693ab55d25a0275db8fcf83e20d9 (diff)
Tweaked the _guided storage. One variable was a loaded module, which is hard to convert to json in a meaningful way.
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 958b1e5f..a96934e5 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -115,6 +115,7 @@ while 1:
archinstall.storage['_guided']['profile'] = profile
if type(profile) != str: # Got a imported profile
+ archinstall.storage['_guided']['profile'] = profile[0] # The second return is a module, and not a handle/object.
if not profile[1]._prep_function():
archinstall.log(' * Profile\'s preperation requirements was not fulfilled.', bg='black', fg='red')
continue