So when I ask for series.nbookmarks it returns this error: UnboundLocalError: local variable 'book' referenced before assignment
I tried to work around it, but my try... except Exception handling doesn't get the error very well, nor does hasattr(series, 'nbookmarks'). Could you fix this, preferably by returning 0?
This is an obscure case and very frustrating, in the latest 2.2.0 version.
If there are no bookmarks for a series, the label is not there either
So when I ask for series.nbookmarks it returns this error:
UnboundLocalError: local variable 'book' referenced before assignment
I tried to work around it, but my try... except Exception handling doesn't get the error very well, nor does hasattr(series, 'nbookmarks'). Could you fix this, preferably by returning 0?
Thanks