Hama.bundle icon indicating copy to clipboard operation
Hama.bundle copied to clipboard

Change in data returned from FanartTV API causes exception in anidb34.py

Open fire332 opened this issue 3 years ago • 0 comments

FanartTV_dict.seasons can now contain an all key in addition to the numeric keys which causes the exception, invalid literal for int() with base 10: 'all', to occur in anidb34.py#L94.

Inserting

FanartTV_dict.get('seasons', {}).pop('all', None)

before FanartTV.py#L44 resolves this issue. However, a refactor should be considered to utilize the data in that dict.

fire332 avatar Aug 27 '22 10:08 fire332