summaryrefslogtreecommitdiff
path: root/worker/notmuch/worker.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/notmuch/worker.go')
-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 67888ff..6281744 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
}