Skip to content

Commit

Permalink
Update sitecustomize.py
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored Mar 13, 2024
1 parent 45c4ccb commit 47d6b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ports/py-add-vcpkg-dll-path/sitecustomize.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

vcpkg_bin_path = Path(sys.prefix) / '/../../bin'
if not vcpkg_bin_path.is_dir():
raise RuntimeError('Could not add "{vcpkg_bin_path}" to dll paths because it does not exist.')
os.add_dll_directory(vcpkg_bin_path)
raise RuntimeError(f'Could not add "{vcpkg_bin_path}" to dll paths because it does not exist.')
os.add_dll_directory(vcpkg_bin_path)

0 comments on commit 47d6b12

Please sign in to comment.