Skip to content

Commit

Permalink
driver/serialdriver: remove wrong keyword argument
Browse files Browse the repository at this point in the history
This got refactored and is also not necessary here, since we rely on the proxy
setting of the exporter.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
  • Loading branch information
Emantor committed Oct 19, 2018
1 parent fa65fde commit 8bdb7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labgrid/driver/serialdriver.py
Expand Up @@ -54,7 +54,7 @@ def on_activate(self):
self.serial.port = self.port.port
self.serial.baudrate = self.port.speed
else:
host, port = proxymanager.get_host_and_port(self.port, proxy=True)
host, port = proxymanager.get_host_and_port(self.port)
if self.port.protocol == "rfc2217":
self.serial.port = "rfc2217://{}:{}/".format(host, port)
elif self.port.protocol == "raw":
Expand Down

0 comments on commit 8bdb7cf

Please sign in to comment.