1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-19 18:37:39 +03:00

Fixed docstring on Credentials, log wording

This commit is contained in:
A_D 2020-08-07 13:37:19 +02:00
parent d5dd23ce38
commit 3155b929fa
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -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