I thought I had corrected the identation but copy/pasted your version over the one I generated.
I still got the 'bool' object is not iterable error
Code:
calibre, version 6.3.0
ERROR: Unhandled exception: <b>TypeError</b>:'bool' object is not iterable
calibre 6.3 embedded-python: True
Windows-10-10.0.22000-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22000')
Python 3.10.1
Windows: ('10', '10.0.22000', 'SP0', 'Multiprocessor Free')
Interface language: en_CA
Successfully initialized third party plugins: Auto Datestamp and View (0, 0, 9)
...
<deleted rest of plugins. I really need to start culling them.>
...
Traceback (most recent call last):
File "calibre\gui2\actions\view.py", line 308, in _view_calibre_books
TypeError: 'bool' object is not iterable