diff --git a/page.go b/page.go index 42110bb..ca53b0f 100755 --- a/page.go +++ b/page.go @@ -69,5 +69,6 @@ func (p *Page) Save() error { } func (p *Page) Erase() error { - return os.Remove(path.Join(pathToData, encodeToBase32(p.Name)+".json")) + log.Trace("Erasing " + p.Name) + return os.Remove(path.Join(pathToData, encodeToBase32(strings.ToLower(p.Name))+".json")) }