1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-15 15:18:16 +00:00
This commit is contained in:
Otto Winter 2018-11-30 20:18:28 +01:00
parent ddbb6d064d
commit afaed06606
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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);