Quote:
Originally Posted by Over
Aha! I think I know what's the problem! One of the titles has an «'», so that section name must be between " instead of '.
|
Just a tip: when you are editing recipes in calibre's GUI and you are not so comfortable with Python syntax: save your edits line by line. Or block by block in the case of 'if' or 'for' constructs. Line numbers are not visible in the recipe, and the line number the error gives will be off by 3, 2, or sometimes only 1 line anyway. If you do it line by line you will know immediately where to look.
Or do your editing in a Python syntax aware text editor. That would have flagged this error right on the spot.