Quote:
Originally Posted by KevinH
You have to add it to the spine. You can add many file types that should not be added directly to the spine.
|
Ok, when i use
Code:
bk._w.spine.append((uid, None))
i get
Code:
Traceback (most recent call last):
File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 301, in <module>
sys.exit(main())
File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 268, in main
ps.launch()
File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 149, in launch
container._w.write_opf()
File "C:\Program Files\Sigil\plugin_launchers\python\wrapper.py", line 268, in write_opf
data = utf8_str(self.build_opf())
File "C:\Program Files\Sigil\plugin_launchers\python\wrapper.py", line 256, in build_opf
data.append(self.build_spine_xml())
File "C:\Program Files\Sigil\plugin_launchers\python\wrapper.py", line 230, in build_spine_xml
for (id, linear, properties) in self.spine:
ValueError: need more than 2 values to unpack