only get required item keys
This commit is contained in:
parent
54f301ff71
commit
0fbef43b71
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue