Skip to content

Commit 1a05efc

Browse files
committed
Fix oversight (forgot to replace one assignment with return)
1 parent 98d7a91 commit 1a05efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda_bindings/cuda/bindings/_internal/nvvm_windows.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ cdef load_library(const int driver_ver):
8181
# Finally, try default search
8282
# Only reached if DLL wasn't found in any site-package path
8383
try:
84-
handle = win32api.LoadLibrary(dll_name)
84+
return win32api.LoadLibrary(dll_name)
8585
except:
8686
pass
8787

0 commit comments

Comments
 (0)