Fixed self-import.

This commit is contained in:
Michiel Alexander Boekhoff 2017-04-26 10:11:27 +01:00
commit 42f8de204c
2 changed files with 2 additions and 4 deletions

View file

@ -48,7 +48,7 @@ func writeNote(note utils.Note) error {
dnote[book] = []utils.Note{note}
}
err := utils.WriteDnote(dnote)
err = utils.WriteDnote(dnote)
if err != nil {
return err
}

View file

@ -12,8 +12,6 @@ import (
"strconv"
"time"
"github.com/dnote-io/cli/utils"
"gopkg.in/yaml.v2"
)
@ -176,7 +174,7 @@ func WriteDnote(dnote Dnote) error {
return err
}
notePath, err := utils.GetDnotePath()
notePath, err := GetDnotePath()
if err != nil {
return err
}