Skip to content

Commit

Permalink
Merge pull request #41 from sony/pylint/tty
Browse files Browse the repository at this point in the history
Fix pylint
  • Loading branch information
YuGu-OSS authored Jan 16, 2025
2 parents 83b00d2 + 975ed2e commit b99da8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyautoport/addon/tty.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ def set_log(self, log_file='tty.log', save_flag=True):
self.port.close()
self.port = None
self.disconnect()
port = os.environ.get('TESTER_UART_PORT', '/dev/ttyACM0')
baudrate = os.environ.get('TESTER_UART_BAUDRATE', '125000')
port = os.environ.get('TESTER_UART_PORT', '/dev/ttyACM0')
baudrate = os.environ.get('TESTER_UART_BAUDRATE', '125000')
self.log_file = log_file
self.save_log = save_flag
self.connect(port=port, baudrate=baudrate)
Expand Down

0 comments on commit b99da8c

Please sign in to comment.