diff --git a/oml/item/models.py b/oml/item/models.py index 2032280..8420ecb 100644 --- a/oml/item/models.py +++ b/oml/item/models.py @@ -733,7 +733,7 @@ class File(db.Model): prefix = os.sep.join(os.path.join(os.path.expanduser(prefs['libraryPath']), 'Books/').split('/')) if not self.item: return - j = self.item.json() + j = self.item.json(keys=['title', 'author', 'publisher', 'date', 'extension']) current_path = self.fullpath() if not os.path.exists(current_path):