Skip to content

Commit d35423a

Browse files
committed
strip \n if it was incorrectly added by the device
+ # Devices should _not_ be including a newline at the end of each log-line str (especially when + # encapsulated as a LogRecord). But to cope with old device loads, we check for that and fix it here: + if line.endswith("\n"): + line = line[:-1] Also: auto reformatting per our trunk formatting rules.
1 parent 84b4188 commit d35423a

1 file changed

Lines changed: 151 additions & 76 deletions

File tree

0 commit comments

Comments
 (0)