mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-06-24 17:58:47 +02:00
changed default api error state from blank to none
This commit is contained in:
parent
f7ef7a7660
commit
0f2cb6d455
1 changed files with 1 additions and 3 deletions
|
@ -42,7 +42,7 @@ class MikrotikAPI:
|
|||
|
||||
self._connection = None
|
||||
self._connected = False
|
||||
self.error = ""
|
||||
self.error = None
|
||||
|
||||
# Default ports
|
||||
if not self._port:
|
||||
|
@ -111,8 +111,6 @@ class MikrotikAPI:
|
|||
if "ALERT_HANDSHAKE_FAILURE" in error:
|
||||
self.error = "ssl_handshake_failure"
|
||||
|
||||
return
|
||||
|
||||
# ---------------------------
|
||||
# connected
|
||||
# ---------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue