Skip to content

Commit

Permalink
_find_chrome_win (#223)
Browse files Browse the repository at this point in the history
* edit _find_chrome_win

FileNotFoundError

* Update chrome.py
  • Loading branch information
RINGARCH authored and samuelhwilliams committed Jan 2, 2020
1 parent 838d7db commit b679025
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eel/chrome.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b679025

Please sign in to comment.