mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-23 23:05:19 +01:00
...
This commit is contained in:
parent
4e4a594fba
commit
87fc87978b
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ def __init__(self, all_storage, entries):
|
|||
except KeyError:
|
||||
# Parent does not exist, set the parent to be the storage
|
||||
# object
|
||||
sid = p.storage_id
|
||||
sid = item.storage_id
|
||||
if sid not in all_storage_ids:
|
||||
sid = all_storage_ids[0]
|
||||
item.parent_id = sid
|
||||
|
|
|
|||
Loading…
Reference in a new issue