MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / _read_registry

Function _read_registry

tools/get_chromedriver.py:89–95  ·  view source on GitHub ↗
(root, key, value)

Source from the content-addressed store, hash-verified

87 import winreg
88
89 def _read_registry(root, key, value):
90 try:
91 with winreg.OpenKey(root, key) as hkey:
92 val, _ = winreg.QueryValueEx(hkey, value)
93 return val
94 except Exception:
95 return None
96
97 keys = [
98 r'SOFTWARE\Google\Chrome\BLBeacon',

Callers 1

get_chrome_versionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected