forked from platformio/platformio-core
Automatically rebuild contrib-pysite package when import fails // Resolve #3313
This commit is contained in:
@ -9,6 +9,7 @@ PlatformIO Core 4
|
||||
4.2.1 (2020-02-??)
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* Improved support of PIO Home on card-sized PC (Raspberry Pi, etc.) (`issue #3313 <https://github.com/platformio/platformio-core/issues/3313>`_)
|
||||
* Fixed "TypeError: unsupported operand type(s)" when system environment variable is used by project configuration parser (`issue #3377 <https://github.com/platformio/platformio-core/issues/3377>`_)
|
||||
|
||||
|
||||
|
@ -57,7 +57,7 @@ def cli(port, host, no_open, shutdown_timeout):
|
||||
|
||||
try:
|
||||
from autobahn.twisted.resource import WebSocketResource
|
||||
except (ImportError, ModuleNotFoundError):
|
||||
except: # pylint: disable=bare-except
|
||||
build_contrib_pysite_deps(get_core_package_dir("contrib-pysite"))
|
||||
from autobahn.twisted.resource import WebSocketResource
|
||||
|
||||
|
Reference in New Issue
Block a user