Explorar o código

Update __init__.py

Daniel Høyer Iversen %!s(int64=5) %!d(string=hai) anos
pai
achega
498ac6dd37
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      switchbot/__init__.py

+ 1 - 1
switchbot/__init__.py

@@ -50,7 +50,7 @@ class Switchbot:
             if retry < 1 or not self._connect():
                 _LOGGER.error("Cannot connect to switchbot.", exc_info=True)
                 return False
-            _LOGGER.warning("Cannot connect to switchbot. Retrying", exc_info=True)
+            _LOGGER.warning("Cannot connect to switchbot. Retrying")
             return self._sendpacket(key, retry-1)
         return True