Commit 33c6706
py: Ensure DRIVER_PATH_ENV_KEY defaults to string (SeleniumHQ#14862)
[py] Avoid os.getenv error if driver_path_env_key is not set
Follow up to PR SeleniumHQ#14528, to avoid `os.getenv` raising `TypeError`
in `env_path` when `driver_path_env_key` is not passed to `Service`
constructor.
Co-authored-by: Diego Molina <[email protected]>1 parent 50cbca9 commit 33c6706
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
245 | 246 | | |
246 | 247 | | |
247 | 248 | | |
248 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
0 commit comments