From 58201d723465517dbe467715d57e46f73241a0dd Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 18 Oct 2020 20:32:26 +0200 Subject: Tweaked the _guided storage. One variable was a loaded module, which is hard to convert to json in a meaningful way. --- examples/guided.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-54-g00ecf