Skip to content

Commit a0da362

Browse files
committed
2 parents afee62a + f266436 commit a0da362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def run(self) -> None:
8383
if PLATFORM.startswith('win'):
8484
pth_code = (
8585
'import os; '
86-
'os.add_dll_directory(os.getenv("HACKRF_LIB_DIR", "C:\\Program Files\\HackRF\\lib"))'
86+
'os.add_dll_directory(os.getenv("HACKRF_LIB_DIR", r"C:\\Program Files\\HackRF\\lib"))'
8787
)
8888
with open(path.join(self.install_lib, "python_hackrf.pth"), mode='w', encoding='utf-8') as file:
8989
file.write(pth_code)

0 commit comments

Comments
 (0)