We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a77f6c commit b3d4db3Copy full SHA for b3d4db3
pymodbus/exceptions.py
@@ -83,14 +83,13 @@ class InvalidResponseRecievedException(ModbusException):
83
Error resulting from invalid response received or decoded
84
"""
85
86
+ def __init__(self, string=""):
87
+ ''' Initialize the exception
88
-def __init__(self, string=""):
- ''' Initialize the exception
89
-
90
- :param string: The message to append to the error
91
- '''
92
- message = "[Invalid Response] %s" % string
93
- ModbusException.__init__(self, message)
+ :param string: The message to append to the error
+ '''
+ message = "[Invalid Response] %s" % string
+ ModbusException.__init__(self, message)
94
95
#---------------------------------------------------------------------------#
96
# Exported symbols
0 commit comments