X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=smart_home%2Ftplink_utils.py;fp=smart_home%2Ftplink_utils.py;h=ea35110c7bfe6a52e81f1ab945f392ace6ff1153;hb=6ca1a7b51513673a7ae10ee38057e83aaee4c409;hp=abf4970c3c9593f76b641114716fcff88a782627;hpb=54b5493516c71cd8f5ac65a698c73c2adc629838;p=python_utils.git 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,