Skip to content

Commit 6c24eec

Browse files
committed
Merge branch 'pr-589' into 2.5.0
2 parents cf0cd8f + c5baf69 commit 6c24eec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pymodbus/client/asynchronous/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@
3737
if installed:
3838
# Import deprecated async client only if twisted is installed #338
3939
from pymodbus.client.asynchronous.deprecated.asynchronous import *
40-
else:
4140
import logging
4241
logger = logging.getLogger(__name__)
43-
logger.warning("Not Importing deprecated clients. "
44-
"Dependency Twisted is not Installed")
42+
logger.warning("Importing deprecated clients. "
43+
"Dependency Twisted is Installed")

0 commit comments

Comments
 (0)