From b679025a08ecca2ee6ab2a1e090d4bf92261bcb0 Mon Sep 17 00:00:00 2001 From: PASUNX <34183912+PASUNX@users.noreply.github.com> Date: Fri, 3 Jan 2020 02:05:58 +0700 Subject: [PATCH] _find_chrome_win (#223) * edit _find_chrome_win FileNotFoundError * Update chrome.py --- eel/chrome.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eel/chrome.py b/eel/chrome.py index ed189558..569b3459 100644 --- a/eel/chrome.py +++ b/eel/chrome.py @@ -62,6 +62,8 @@ def _find_chrome_win(): reg_key = reg.OpenKey(install_type, reg_path, 0, reg.KEY_READ) chrome_path = reg.QueryValue(reg_key, None) reg_key.Close() + if not os.path.isfile(chrome_path): + continue except WindowsError: chrome_path = None else: