From a4977b260b97d19bae46e23fc3b20d64f6a1b048 Mon Sep 17 00:00:00 2001 From: David Huss <dh@atoav.com> Date: Thu, 28 May 2020 14:14:43 +0200 Subject: [PATCH] Formatting --- bbbmon/meetings.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bbbmon/meetings.py b/bbbmon/meetings.py index ec47176..b49cce6 100644 --- a/bbbmon/meetings.py +++ b/bbbmon/meetings.py @@ -358,6 +358,9 @@ def meetings_twolines(config: Config, watch: int, fancy: bool, sum_:bool): def format_json(config: Config, watch: bool, compact: bool) -> str: + """ + Get the running meetings + """ meetings = [] for e, meeting in [(e, get_meetings(e.secret, e.url, config.path, sum_=False)) for e in config.endpoints]: @@ -373,8 +376,6 @@ def format_json(config: Config, watch: bool, compact: bool) -> str: meetings.append(meeting) - - # Clear screen after request is done, and before printing new data to keep # blinking to a minimum if watch is not None: -- GitLab