Skip to content

Commit

Permalink
fixed asert message
Browse files Browse the repository at this point in the history
  • Loading branch information
apatrushev committed Aug 29, 2023
1 parent 9027e48 commit dd15f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyflipper/pyflipper.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class PyFlipper:

def __init__(self, **kwargs) -> None:
assert sum(bool(kwargs.get(k)) for k in ('com', 'ws', 'tcp')) == 1, \
'Only one of com, ws, port should be specified'
'Only one of com, ws, tcp should be specified'
if kwargs.get('com'):
self._serial_wrapper = LocalSerial(com=kwargs['com'])
elif kwargs.get('ws'):
Expand Down

0 comments on commit dd15f55

Please sign in to comment.