Added some debugging.
This commit is contained in:
parent
1b903550b5
commit
8c8a441c26
|
|
@ -322,7 +322,9 @@ class Partition():
|
||||||
else:
|
else:
|
||||||
raise UnknownFilesystemFormat(f"Fileformat '{filesystem}' is not yet implemented.")
|
raise UnknownFilesystemFormat(f"Fileformat '{filesystem}' is not yet implemented.")
|
||||||
|
|
||||||
if get_filesystem_type(path) == 'crypto_LUKS':
|
print('Checking if encrypted:', path)
|
||||||
|
print('Also checking:', self.real_device)
|
||||||
|
if get_filesystem_type(path) == 'crypto_LUKS' or get_filesystem_type(self.real_device) == 'crypto_LUKS':
|
||||||
self.encrypted = True
|
self.encrypted = True
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue