From 84f7adbfb2b5d66b9c24ad76dc437d1c324e6929 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Wed, 9 Sep 2015 17:40:02 +0100 Subject: [PATCH] uefi menu: updated prompt_regex to handle debug UEFI builds. --- wlauto/utils/uefi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wlauto/utils/uefi.py b/wlauto/utils/uefi.py index 88fce8ba..00c62364 100644 --- a/wlauto/utils/uefi.py +++ b/wlauto/utils/uefi.py @@ -52,7 +52,7 @@ class UefiMenu(object): """ option_regex = re.compile(r'^\[(\d+)\]\s+([^\r]+)\r\n', re.M) - prompt_regex = re.compile(r'^([^\r\n]+):\s*', re.M) + prompt_regex = re.compile(r'^(\S[^\r\n]+):\s*', re.M) invalid_regex = re.compile(r'Invalid input \(max (\d+)\)', re.M) load_delay = 1 # seconds