diff --git a/artiq/coredevice/comm_serial.py b/artiq/coredevice/comm_serial.py index 73d784372..63336a537 100644 --- a/artiq/coredevice/comm_serial.py +++ b/artiq/coredevice/comm_serial.py @@ -67,7 +67,7 @@ class Comm(AutoDB): implicit_core = False def build(self): - self.port = serial.Serial(self.serial_dev, baudrate=115200) + self.port = serial.serial_for_url(self.serial_dev, baudrate=115200) self.port.flush() self.set_remote_baud(self.baud_rate) self.set_baud(self.baud_rate)