From 087500c9b7d6dc903bcabc1c590a92ee5f9e5fa6 Mon Sep 17 00:00:00 2001 From: 2Shirt <1923621+2Shirt@users.noreply.github.com> Date: Tue, 2 Oct 2018 23:09:20 -0600 Subject: [PATCH] Fixed inconsistent indent length --- .bin/Scripts/functions/diags.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.bin/Scripts/functions/diags.py b/.bin/Scripts/functions/diags.py index 47991680..f66d59e0 100644 --- a/.bin/Scripts/functions/diags.py +++ b/.bin/Scripts/functions/diags.py @@ -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."""