From fccc859d5754b7b6220f1b260c591dc7711b8a21 Mon Sep 17 00:00:00 2001 From: Michael Rosenberg <42micro@gmail.com> Date: Tue, 28 Jun 2016 20:42:51 -0400 Subject: [PATCH] Fix alignment on download progress example --- queue/queue.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queue/queue.go b/queue/queue.go index 24b4174..a2570b8 100644 --- a/queue/queue.go +++ b/queue/queue.go @@ -262,9 +262,9 @@ func dirSize(path string) (int64, error) { } /* Output looks like -Errored.Download.mkv | | (error: could not stat file) Totally.Legit.Download.x264-KILLERS |===============> | (50%) -ubuntu.13.37.iso |===> | ( 7%) +ubuntu.13.37.iso |===> | ( 7%) +Errored.Download.mkv | | (error: could not stat file) */ func (q *Queue) getDownloadStatus(downloadsRunning map[string]downloadInfo) string { // We use maps so that we can traverse in name order