Skip to content

Commit

Permalink
fixed import for type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
farmio committed Dec 9, 2020
1 parent ea21457 commit 4bcb1b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xknx/core/value_reader.py
Expand Up @@ -14,7 +14,7 @@
from xknx.telegram import GroupAddress, Telegram, TelegramType

if TYPE_CHECKING:
import xknx.XKNX as XKNX
from xknx.xknx import XKNX

logger = logging.getLogger("xknx.log")

Expand Down
2 changes: 1 addition & 1 deletion xknx/io/gateway_scanner.py
Expand Up @@ -25,7 +25,7 @@
from .udp_client import UDPClient

if TYPE_CHECKING:
import xknx.XKNX as XKNX
from xknx.xknx import XKNX

logger = logging.getLogger("xknx.log")

Expand Down
2 changes: 1 addition & 1 deletion xknx/io/udp_client.py
Expand Up @@ -14,7 +14,7 @@
from xknx.knxip import KNXIPFrame

if TYPE_CHECKING:
import xknx.XKNX as XKNX
from xknx.xknx import XKNX

raw_socket_logger = logging.getLogger("xknx.raw_socket")
logger = logging.getLogger("xknx.log")
Expand Down

0 comments on commit 4bcb1b2

Please sign in to comment.