fastled 1.2.48__py3-none-any.whl → 1.2.50__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fastled/__init__.py +1 -1
- fastled/client_server.py +405 -405
- fastled/docker_manager.py +49 -17
- fastled/keyboard.py +1 -0
- fastled/project_init.py +129 -129
- fastled/site/build.py +457 -457
- fastled/web_compile.py +2 -1
- {fastled-1.2.48.dist-info → fastled-1.2.50.dist-info}/METADATA +384 -383
- {fastled-1.2.48.dist-info → fastled-1.2.50.dist-info}/RECORD +13 -13
- {fastled-1.2.48.dist-info → fastled-1.2.50.dist-info}/WHEEL +1 -1
- {fastled-1.2.48.dist-info → fastled-1.2.50.dist-info}/entry_points.txt +0 -0
- {fastled-1.2.48.dist-info → fastled-1.2.50.dist-info/licenses}/LICENSE +0 -0
- {fastled-1.2.48.dist-info → fastled-1.2.50.dist-info}/top_level.txt +0 -0
fastled/web_compile.py
CHANGED
@@ -45,6 +45,7 @@ def _test_connection(host: str, use_ipv4: bool) -> ConnectionResult:
|
|
45
45
|
# Function static cache
|
46
46
|
host = _sanitize_host(host)
|
47
47
|
transport = httpx.HTTPTransport(local_address="0.0.0.0") if use_ipv4 else None
|
48
|
+
result: ConnectionResult | None = None
|
48
49
|
try:
|
49
50
|
with httpx.Client(
|
50
51
|
timeout=_TIMEOUT,
|
@@ -56,7 +57,7 @@ def _test_connection(host: str, use_ipv4: bool) -> ConnectionResult:
|
|
56
57
|
result = ConnectionResult(host, test_response.status_code == 200, use_ipv4)
|
57
58
|
except KeyboardInterrupt:
|
58
59
|
_thread.interrupt_main()
|
59
|
-
|
60
|
+
result = ConnectionResult(host, False, use_ipv4)
|
60
61
|
except TimeoutError:
|
61
62
|
result = ConnectionResult(host, False, use_ipv4)
|
62
63
|
except Exception:
|