1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 16:27:13 +03:00

fixed docstrings

This commit is contained in:
A_D 2020-09-18 23:17:36 +02:00
parent 615a36452d
commit 375573c0a8
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -487,7 +487,7 @@ def worker() -> None:
"""
Upload worker.
Works based the `this.queue` queue, loops infinitely until the item returned from the queue is None.
Processes `this.queue` until the queued item is None.
"""
pending = [] # Unsent events
closing = False
@ -583,7 +583,7 @@ def worker() -> None:
def should_send(entries: List[Mapping[str, Any]]) -> bool:
"""
Whether or not any of the given entries should be sent immediately.
Whether or not any of the given entries should be sent to EDSM.
:param entries: The entries to check
:return: bool indicating whether or not to send said entries