summaryrefslogtreecommitdiff
path: root/local.go
diff options
context:
space:
mode:
Diffstat (limited to 'local.go')
-rw-r--r--local.go2
1 files changed, 1 insertions, 1 deletions
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 {