From 12f4e187d6ba8f89732126ff49c582daad83cfe2 Mon Sep 17 00:00:00 2001 From: Tom Swartz Date: Wed, 9 Oct 2019 10:53:14 -0400 Subject: [PATCH] Fix typos in logging, output --- lib/logitech_receiver/base.py | 2 +- lib/logitech_receiver/common.py | 2 +- lib/logitech_receiver/notifications.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/logitech_receiver/base.py b/lib/logitech_receiver/base.py index 9cd071fc..ee8c55e5 100644 --- a/lib/logitech_receiver/base.py +++ b/lib/logitech_receiver/base.py @@ -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 diff --git a/lib/logitech_receiver/common.py b/lib/logitech_receiver/common.py index b6cfb67d..6fee6ec7 100644 --- a/lib/logitech_receiver/common.py +++ b/lib/logitech_receiver/common.py @@ -272,7 +272,7 @@ FirmwareInfo = namedtuple('FirmwareInfo', [ 'version', 'extras']) -"""Reprogrammable keys informations.""" +"""Reprogrammable keys information.""" ReprogrammableKeyInfo = namedtuple('ReprogrammableKeyInfo', [ 'index', 'key', diff --git a/lib/logitech_receiver/notifications.py b/lib/logitech_receiver/notifications.py index ce3a20e7..8ed9f6e5 100644 --- a/lib/logitech_receiver/notifications.py +++ b/lib/logitech_receiver/notifications.py @@ -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