Skip to content

Commit

Permalink
fix: Make mypy happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Jan 23, 2024
1 parent 7e188b8 commit 9622531
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@ def lacus_status(self) -> dict[str, Any]:
console.print(s)

if m.lacus is not None:
status = m.lacus_status()
lacus_status = m.lacus_status()
console.print('Lacus status:')
if status['is_busy']:
if lacus_status['is_busy']:
console.print(Padding('[red]WARNING[/red]: Lacus is busy.', (0, 2)))
console.print(Padding(f'Ongoing captures: {status["ongoing_captures"]}', (0, 2)))
console.print(Padding(f'Enqueued captures: {status["enqueued_captures"]}', (0, 2)))
console.print(Padding(f'Ongoing captures: {lacus_status["ongoing_captures"]}', (0, 2)))
console.print(Padding(f'Enqueued captures: {lacus_status["enqueued_captures"]}', (0, 2)))

console.print('Current queues:')
for q, priority in m.queues:
Expand Down

0 comments on commit 9622531

Please sign in to comment.