From 9db589f10a1ba5e96f2343c25cba8fff32e0332c Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 7 Feb 2021 18:45:25 +0100 Subject: Added a default no-info value to BlockDevice() --- archinstall/lib/disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall') diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index 7b3a9b66..6c7e63ba 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -14,7 +14,7 @@ GPT = 0b00000001 #libc.mount.argtypes = (ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_ulong, ctypes.c_char_p) class BlockDevice(): - def __init__(self, path, info): + def __init__(self, path, info={}): self.path = path self.info = info self.part_cache = OrderedDict() -- cgit v1.2.3-70-g09d2