From 6ca1a7b51513673a7ae10ee38057e83aaee4c409 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Mon, 15 Aug 2022 09:20:20 -0700 Subject: Fix a threading related bug in tplink_utils. --- smart_home/tplink_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smart_home') diff --git a/smart_home/tplink_utils.py b/smart_home/tplink_utils.py index abf4970..ea35110 100644 --- a/smart_home/tplink_utils.py +++ b/smart_home/tplink_utils.py @@ -122,7 +122,7 @@ def decrypt(string: bytes) -> str: return result -@timeout(10, error_message="Timed out comunicating with device.") +@timeout(10, use_signals=False, error_message="Timed out comunicating with device.") def communicate_with_device( ip: str, port: int, -- cgit v1.3