Skip to content

Commit

Permalink
Automatically rebuild contrib-pysite package when import fails // Res…
Browse files Browse the repository at this point in the history
…olve #3313
  • Loading branch information
ivankravets committed Feb 13, 2020
1 parent a10625a commit 22e8e02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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>`_)


Expand Down
2 changes: 1 addition & 1 deletion platformio/commands/home/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 22e8e02

Please sign in to comment.