api cleanup

This commit is contained in:
Tomaae 2022-06-30 22:20:45 +02:00
parent 7d1915b566
commit 5408d60bbd
No known key found for this signature in database
GPG key ID: 8360BBD8A381D1C0

View file

@ -4,16 +4,13 @@ import logging
import ssl import ssl
from time import time from time import time
from threading import Lock from threading import Lock
from voluptuous import Optional from voluptuous import Optional
from .const import ( from .const import (
DEFAULT_LOGIN_METHOD, DEFAULT_LOGIN_METHOD,
DEFAULT_ENCODING, DEFAULT_ENCODING,
) )
import librouteros import librouteros
from socket import error as socket_error, timeout as socket_timeout
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)