genre_exclude accepts bool argument, which doesn't work
Closed this issue · 0 comments
abhinavk99 commented
resp = j.search(
'anime',
'', # query string
page=p,
parameters={
'genre': 12,
'genre_exclude': True,
'order_by': 'id',
'sort': 'desc'})
genre_exclude
should be an integer, but since bool is a subclass of integer in Python, it allows True and False, which returns incorrect results.