Fix typos in logging, output
This commit is contained in:
parent
51dd2a5d28
commit
12f4e187d6
|
@ -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
|
||||
|
|
|
@ -272,7 +272,7 @@ FirmwareInfo = namedtuple('FirmwareInfo', [
|
|||
'version',
|
||||
'extras'])
|
||||
|
||||
"""Reprogrammable keys informations."""
|
||||
"""Reprogrammable keys information."""
|
||||
ReprogrammableKeyInfo = namedtuple('ReprogrammableKeyInfo', [
|
||||
'index',
|
||||
'key',
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue