aboutsummaryrefslogtreecommitdiffstats
path: root/worker
diff options
context:
space:
mode:
Diffstat (limited to 'worker')
-rw-r--r--worker/notmuch/worker.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/worker/notmuch/worker.go b/worker/notmuch/worker.go
index 67888ff1..6281744b 100644
--- a/worker/notmuch/worker.go
+++ b/worker/notmuch/worker.go
@@ -507,6 +507,9 @@ func (w *worker) loadExcludeTags(
return nil
}
excludedTags := strings.Split(raw, ",")
+ for idx, tag := range excludedTags {
+ excludedTags[idx] = strings.Trim(tag, " ")
+ }
return excludedTags
}