Skip to content

Commit c47a655

Browse files
committed
Exception message fix
1 parent 537f1ea commit c47a655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XRPLib/encoded_motor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def get_default_encoded_motor(cls, index:int = 1):
4949
)
5050
motor = cls._DEFAULT_MOTOR_FOUR_INSTANCE
5151
else:
52-
return Exception("Invalid default motor instance")
52+
return Exception("Invalid motor index")
5353
return motor
5454

5555
def __init__(self, motor: Motor, encoder: Encoder):

0 commit comments

Comments
 (0)