From 0ca8b5e142a871026ce7a5fe2972815d51c2ad23 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Tue, 30 Sep 2014 16:56:15 +0000 Subject: [PATCH] typo: fix spelling of Parameter Signed-off-by: Karl Palsson --- pymodbus/exceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pymodbus/exceptions.py b/pymodbus/exceptions.py index 59ec3597f..e35db8da1 100644 --- a/pymodbus/exceptions.py +++ b/pymodbus/exceptions.py @@ -33,14 +33,14 @@ def __init__(self, string=""): class ParameterException(ModbusException): - ''' Error resulting from invalid paramater ''' + ''' Error resulting from invalid parameter ''' def __init__(self, string=""): ''' Initialize the exception :param string: The message to append to the error ''' - message = "[Invalid Paramter] %s" % string + message = "[Invalid Parameter] %s" % string ModbusException.__init__(self, message)