diff options
author | Nick White <git@njw.name> | 2020-06-02 15:28:12 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-06-02 15:28:12 +0100 |
commit | dab03345abce18b4cfde479f2be67a07d05b77e9 (patch) | |
tree | 058fab921a700376e298f3291dd773b198693370 /local.go | |
parent | 1bc2246a06caa0a9e2601a9eada89363988efad8 (diff) |
Fix bug with local queue deletion
Diffstat (limited to 'local.go')
-rw-r--r-- | local.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |