Fix field name on import

This commit is contained in:
Las Zenow 2014-02-14 19:32:08 +01:00
parent dc21299e19
commit 6ae0d1b0ac

View file

@ -40,8 +40,8 @@ func uploadEpub(filename string, db *DB) {
return
}
book["filename"] = id
book["filenamesize"] = size
book["file"] = id
book["filesize"] = size
err = db.InsertBook(book)
if err != nil {
log.Error("Error storing metadata (", title, "): ", err)