diff --git a/src/calibre/devices/prs505/books.py b/src/calibre/devices/prs505/books.py index c10263c6e0..6e268e734a 100644 --- a/src/calibre/devices/prs505/books.py +++ b/src/calibre/devices/prs505/books.py @@ -403,9 +403,8 @@ def fix_ids(main, carda, cardb): for child in db.root_element.childNodes: if child.nodeType == child.ELEMENT_NODE and child.hasAttribute('id'): id_map[child.getAttribute('id')] = str(cid) - child.setAttribute('sourceid', '1') - #child.setAttribute("sourceid", - # '0' if getattr(child, 'tagName', '').endswith('playlist') else '1') + child.setAttribute("sourceid", + '0' if getattr(child, 'tagName', '').endswith('playlist') else '1') child.setAttribute('id', str(cid)) cid += 1