Skip to content

Commit 1938e96

Browse files
author
Brendan Whitfield
committed
using flush(), rather than flushOutput() to prevent truncating the output
1 parent 259eb4a commit 1938e96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

obd/elm327.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def __write(self, cmd):
308308

309309
if self.__port:
310310
cmd += "\r\n" # terminate
311-
self.__port.flushOutput()
311+
self.__port.flush()
312312
self.__port.flushInput()
313313
self.__port.write(cmd.encode()) # turn the string into bytes
314314
debug("write: " + repr(cmd))

0 commit comments

Comments
 (0)