From 253e52da228183be504b1fd8249dcb7bbad5f011 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 29 Nov 2019 15:37:05 +0100 Subject: debugging --- archinstall.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archinstall.py b/archinstall.py index 1b442d1c..2502b00e 100644 --- a/archinstall.py +++ b/archinstall.py @@ -306,6 +306,7 @@ class sys_command():#Thread): break if 'debug' in self.kwargs and self.kwargs['debug'] and len(output): + print(self.cmd[0], 'gave:', output.decode('UTF-8'), origin='spawn', level=4) log(self.cmd[0],'gave:', output.decode('UTF-8'), origin='spawn', level=4) lower = output.lower() @@ -1230,7 +1231,7 @@ if __name__ == '__main__': close_disks() print(f'[N] Setting up {args["drive"]}.') if not format_disk('drive', start='start', end='size', debug=True): - pritn(f'[E] Coult not format drive {args["drive"]}') + print(f'[E] Coult not format drive {args["drive"]}') exit(1) refresh_partition_list('drive') -- cgit v1.2.3-70-g09d2