aboutsummaryrefslogtreecommitdiff
path: root/spool/load.go
diff options
context:
space:
mode:
Diffstat (limited to 'spool/load.go')
-rw-r--r--spool/load.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/spool/load.go b/spool/load.go
index 282fdc6..5b08bda 100644
--- a/spool/load.go
+++ b/spool/load.go
@@ -7,7 +7,7 @@ import (
"fmt"
"log"
"os"
- "path"
+ "path/filepath"
"strconv"
)
@@ -15,7 +15,7 @@ import (
func (s *Spool) Load(c *config.Config) (err error) {
s.config = c
// We read the spool
- file, err := os.Open(path.Join(c.WorkDir(), spoolFile))
+ file, err := os.Open(filepath.Join(c.WorkDir(), spoolFile))
if err != nil {
return fmt.Errorf("Couldn't open spool file, starting from scratch: %s", err)
}