We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a65ae commit 2cf6a2aCopy full SHA for 2cf6a2a
pydfu.py
@@ -85,9 +85,9 @@ def get_backend(): # Return a specific backend for windows
85
bits, linkage = platform.architecture()
86
if platform.system() == "Windows":
87
if bits == "64bit":
88
- return usb.backend.libusb1.get_backend(find_library=lambda x: ".\libusb-1.0.dll")
+ return usb.backend.libusb1.get_backend(find_library=lambda x: r".\libusb-1.0.dll")
89
else:
90
- return usb.backend.libusb1.get_backend(find_library=lambda x: ".\libusb-1.0_32b.dll")
+ return usb.backend.libusb1.get_backend(find_library=lambda x: r".\libusb-1.0_32b.dll")
91
return None # default
92
93
import inspect
0 commit comments