diff --git a/src/calibre/gui2/tweak_book/file_list.py b/src/calibre/gui2/tweak_book/file_list.py index 0167b63d3c..0809d41162 100644 --- a/src/calibre/gui2/tweak_book/file_list.py +++ b/src/calibre/gui2/tweak_book/file_list.py @@ -393,9 +393,6 @@ class FileList(QTreeWidget): for name, linear in container.spine_names: processed[name] = create_item(name, linear=linear) - all_files = list(container.manifest_type_map.iteritems()) - all_files.append((guess_type('a.opf'), [container.opf_name])) - for name in container.name_path_map: if name in processed: continue