mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 07:08:20 +00:00
Fix
This commit is contained in:
parent
ddbb6d064d
commit
afaed06606
@ -26,7 +26,7 @@ from esphomeyaml.__main__ import get_serial_ports
|
|||||||
from esphomeyaml.helpers import mkdir_p, run_system_command
|
from esphomeyaml.helpers import mkdir_p, run_system_command
|
||||||
from esphomeyaml.storage_json import EsphomeyamlStorageJSON, StorageJSON, \
|
from esphomeyaml.storage_json import EsphomeyamlStorageJSON, StorageJSON, \
|
||||||
esphomeyaml_storage_path, ext_storage_path
|
esphomeyaml_storage_path, ext_storage_path
|
||||||
from esphomeyaml.util import shlex_quote, safe_print
|
from esphomeyaml.util import shlex_quote
|
||||||
|
|
||||||
# pylint: disable=unused-import, wrong-import-order
|
# pylint: disable=unused-import, wrong-import-order
|
||||||
from typing import Optional # noqa
|
from typing import Optional # noqa
|
||||||
|
@ -19,7 +19,6 @@ const colorReplace = (pre, state, text) => {
|
|||||||
let i = 0;
|
let i = 0;
|
||||||
|
|
||||||
if (state.carriageReturn) {
|
if (state.carriageReturn) {
|
||||||
console.log(text);
|
|
||||||
if (text !== "\n") {
|
if (text !== "\n") {
|
||||||
// don't remove if \r\n
|
// don't remove if \r\n
|
||||||
pre.removeChild(pre.lastChild);
|
pre.removeChild(pre.lastChild);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user