Hello. I was trying to merge some css files in an EPUB, but the operation failed, the backtrace follows:
Code:
Traceback (most recent call last):
File "/usr/lib64/calibre/calibre/gui2/tweak_book/boss.py", line 67, in ans
return func(*args, **kwargs)
File "/usr/lib64/calibre/calibre/gui2/tweak_book/boss.py", line 951, in merge_requested
merge(current_container(), category, names, master)
File "/usr/lib64/calibre/calibre/ebooks/oeb/polish/split.py", line 459, in merge
merge_css(container, names, master)
File "/usr/lib64/calibre/calibre/ebooks/oeb/polish/split.py", line 421, in merge_css
[sheet.remove(r) for r in cr]
AttributeError: 'CSSStyleSheet' object has no attribute 'remove'
The same issue happens when using ebook-edit from the calibre-1.34 binary tarball.