Fixed inconsistent indent length

This commit is contained in:
2Shirt 2018-10-02 23:09:20 -06:00
parent 85e7813539
commit 087500c9b7

View file

@ -58,12 +58,12 @@ def check_secure_boot_status():
if boot_mode != 'UEFI':
raise OSInstalledLegacyError
else:
# Check error message
err = result.stderr.decode()
if 'Cmdlet not supported' in err:
raise SecureBootNotAvailError
else:
raise GenericError
# Check error message
err = result.stderr.decode()
if 'Cmdlet not supported' in err:
raise SecureBootNotAvailError
else:
raise GenericError
def get_boot_mode():
"""Check if Windows is booted in UEFI or Legacy mode, returns str."""