Unverified Commit 5b356245 authored by Titus's avatar Titus Committed by GitHub
Browse files

Merge pull request #1134 from matthewdouglas/fix-vscode-diagnostics-windows

Fix diagnostics error within vscode on windows
parents c6e31907 3ccb1308
......@@ -59,7 +59,7 @@ def find_cuda_libraries_in_path_list(paths_list_candidate: str) -> Iterable[Path
for pth in dir.glob(lib_pattern):
if pth.is_file():
yield pth
except PermissionError:
except (OSError, PermissionError):
pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment