Closed MartynasZilinskas closed 9 years ago
Good catch! I'm house-hunting today so it'll be awhile before I can fix it myself, but if you've already got a commit fixing it, submit a PR and I'll merge it in.
121 line in anime.py
if len(link_parts) > 1:
anime_info[u'producers'].append(self.session.producer(int(link_parts[1])).set({'name': producer_link.text}))
I am newbie on Python, and I fixed problem with this.
Awesome, well, if you want credit for the fix, you can do the following:
git clone https://github.com/martiogalalt/python-mal.git
git commit -a -m "only populate producers if any exist"
Otherwise, I can make the changes myself, but I'd like to give you formal credit for it if possible :)
If there no producers in Anime. Error: producers list index is out of range. Example
Log: