From 3155b929fa4ae93a47a39b7ef66c933f70306ad3 Mon Sep 17 00:00:00 2001 From: A_D Date: Fri, 7 Aug 2020 13:37:19 +0200 Subject: [PATCH] Fixed docstring on Credentials, log wording --- plugins/inara.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/inara.py b/plugins/inara.py index f727cfec..52813104 100644 --- a/plugins/inara.py +++ b/plugins/inara.py @@ -85,7 +85,7 @@ STATION_UNDOCKED: str = '×' # "Station" name to display when not docked = U+00 class Credentials(NamedTuple): """ - Credentials holds an inara API payload + Credentials holds the set of credentials required to identify an inara API payload to inara """ cmdr: str fid: str @@ -1211,7 +1211,7 @@ def try_send_data(url: str, data: Mapping[str, Any]): :param data: the payload """ for i in range(3): - logger.debug(f"sending data to API, retry #{i}") + logger.debug(f"sending data to API, attempt #{i}") try: if send_data(url, data): break