Fix typos in logging, output

This commit is contained in:
Tom Swartz 2019-10-09 10:53:14 -04:00 committed by Peter Wu
parent 51dd2a5d28
commit 12f4e187d6
3 changed files with 3 additions and 3 deletions

View File

@ -306,7 +306,7 @@ def request(handle, devnumber, request_id, *params):
:param devnumber: attached device number.
:param request_id: a 16-bit integer.
:param params: parameters for the feature call, 3 to 16 bytes.
:returns: the reply data, or ``None`` if some error occured.
:returns: the reply data, or ``None`` if some error occurred.
"""
# import inspect as _inspect

View File

@ -272,7 +272,7 @@ FirmwareInfo = namedtuple('FirmwareInfo', [
'version',
'extras'])
"""Reprogrammable keys informations."""
"""Reprogrammable keys information."""
ReprogrammableKeyInfo = namedtuple('ReprogrammableKeyInfo', [
'index',
'key',

View File

@ -265,7 +265,7 @@ def _process_feature_notification(device, status, n, feature):
reports_period = 2 # seconds
device.feature_request(_F.SOLAR_DASHBOARD, 0x00, reports_count, reports_period)
else:
_log.warn("%s: unknown SOLAR CHAGE %s", device, n)
_log.warn("%s: unknown SOLAR CHARGE %s", device, n)
else:
_log.warn("%s: SOLAR CHARGE not GOOD? %s", device, n)
return True