From 375573c0a8c24b37e7b0b57cbb608aa5a6aae159 Mon Sep 17 00:00:00 2001 From: A_D <aunderscored@gmail.com> Date: Fri, 18 Sep 2020 23:17:36 +0200 Subject: [PATCH] fixed docstrings --- plugins/edsm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/edsm.py b/plugins/edsm.py index e33a9885..8a2e09c4 100644 --- a/plugins/edsm.py +++ b/plugins/edsm.py @@ -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