From 7f9f6c3a048321c5eed84d80bd9b89868ed206c9 Mon Sep 17 00:00:00 2001 From: Jason McVetta Date: Wed, 12 Feb 2020 18:52:24 +0700 Subject: [PATCH] Revert "terminal position" This reverts commit db70d14754add3bbc6a6ab2ac67b67f32441163c. --- django_q/monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_q/monitor.py b/django_q/monitor.py index bd87fa6..632c2e5 100644 --- a/django_q/monitor.py +++ b/django_q/monitor.py @@ -74,7 +74,7 @@ def monitor(run_once=False, broker=None): # print to the terminal print(term.move(i, 0) + term.center(stat.host[:col_width - 1], width=col_width - 1)) print(term.move(i, 1 * col_width) + term.center(str(stat.cluster_id), width=cluster_id_width - 1)) - print(term.move(i, 2 * cluster_id_width) + term.center(status, width=col_width - 1)) + print(term.move(i, 2 * col_width) + term.center(status, width=col_width - 1)) print(term.move(i, 3 * col_width) + term.center(workers, width=col_width - 1)) print(term.move(i, 4 * col_width) + term.center(tasks, width=col_width - 1)) print(term.move(i, 5 * col_width) + term.center(results, width=col_width - 1))