Skip to content

Commit

Permalink
try no args
Browse files Browse the repository at this point in the history
  • Loading branch information
paulboone committed Aug 6, 2023
1 parent 7c20f41 commit 8f48973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion productivity/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
try:
import pymodbus
# pymodbus.logging.Log.apply_logging_config(logging.INFO, None)
pymodbus.logging.pymodbus_apply_logging_config("INFO")
pymodbus.logging.pymodbus_apply_logging_config()
from pymodbus.client import AsyncModbusTcpClient # 3.x
except ImportError: # 2.4.x - 2.5.x
from pymodbus.client.asynchronous.async_io import ReconnectingAsyncioModbusTcpClient # type: ignore
Expand Down

0 comments on commit 8f48973

Please sign in to comment.