diff --git a/not_my_board/_usbip.py b/not_my_board/_usbip.py index 75e1f10..42a425f 100644 --- a/not_my_board/_usbip.py +++ b/not_my_board/_usbip.py @@ -495,7 +495,7 @@ async def _refresh_task(device): await pipe.read(4096) device.refresh() finally: - tmp_path.unlink() + pipe_path.unlink() @contextlib.asynccontextmanager