mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Auto-Decode stacktraces (#214)
* Auto-Decode stacktraces * Fix Gitlab CI
This commit is contained in:
		| @@ -13,7 +13,8 @@ from esphomeyaml.const import CONF_ESPHOMEYAML, CONF_BUILD_PATH | ||||
| from esphomeyaml.core import ESPHomeYAMLError | ||||
| from esphomeyaml import const, core, __main__ | ||||
| from esphomeyaml.__main__ import get_serial_ports | ||||
| from esphomeyaml.helpers import quote, relative_path | ||||
| from esphomeyaml.helpers import relative_path | ||||
| from esphomeyaml.util import shlex_quote | ||||
|  | ||||
| try: | ||||
|     import tornado | ||||
| @@ -51,7 +52,7 @@ class EsphomeyamlCommandWebSocket(tornado.websocket.WebSocketHandler): | ||||
|         if self.proc is not None: | ||||
|             return | ||||
|         command = self.build_command(message) | ||||
|         _LOGGER.debug(u"WebSocket opened for command %s", [quote(x) for x in command]) | ||||
|         _LOGGER.debug(u"WebSocket opened for command %s", [shlex_quote(x) for x in command]) | ||||
|         self.proc = tornado.process.Subprocess(command, | ||||
|                                                stdout=tornado.process.Subprocess.STREAM, | ||||
|                                                stderr=subprocess.STDOUT) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user