From dab03345abce18b4cfde479f2be67a07d05b77e9 Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 2 Jun 2020 15:28:12 +0100 Subject: Fix bug with local queue deletion --- local.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local.go b/local.go index 70991b2..26c2ba8 100644 --- a/local.go +++ b/local.go @@ -180,7 +180,7 @@ func (a *LocalConn) DelFromQueue(url string, handle string) error { i := strings.Index(s, handle) // store the joining of part before and part after handle - complete := s[0:i] + s[i + len(handle) + 1:len(s)] + complete := s[0:i] + s[i + len(handle) + 2:len(s)] f, err := os.Create(filepath.Join(a.TempDir, url)) if err != nil { -- cgit v1.2.1-24-ge1ad