Skip to content
Snippets Groups Projects
Commit a4977b26 authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Formatting

parent 0801d27f
No related branches found
No related tags found
No related merge requests found
...@@ -358,6 +358,9 @@ def meetings_twolines(config: Config, watch: int, fancy: bool, sum_:bool): ...@@ -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: def format_json(config: Config, watch: bool, compact: bool) -> str:
"""
Get the running meetings
"""
meetings = [] meetings = []
for e, meeting in [(e, get_meetings(e.secret, e.url, config.path, sum_=False)) for e in config.endpoints]: 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: ...@@ -373,8 +376,6 @@ def format_json(config: Config, watch: bool, compact: bool) -> str:
meetings.append(meeting) meetings.append(meeting)
# Clear screen after request is done, and before printing new data to keep # Clear screen after request is done, and before printing new data to keep
# blinking to a minimum # blinking to a minimum
if watch is not None: if watch is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment