diff --git a/prusa/link/serial/serial_adapter.py b/prusa/link/serial/serial_adapter.py index f85f4027..3ad64cae 100644 --- a/prusa/link/serial/serial_adapter.py +++ b/prusa/link/serial/serial_adapter.py @@ -196,7 +196,7 @@ def _reopen(self) -> bool: paths.extend(glob.glob("/dev/ttyUSB*")) else: # Follow symlinks to the real device file - device_path = os.path.relpath(self.configured_port) + device_path = os.path.realpath(self.configured_port) paths = [device_path] # Pair the usb printer paths with their serial numbers