IllDepence / anihilist

ncurses client for anilist.co
Do What The F*ck You Want To Public License
3 stars 1 forks source link

Program crashing when switching to "plan to watch" or "on hold" #1

Closed sotojuan closed 9 years ago

sotojuan commented 9 years ago

Hi, when I press 3 or 4 to go to the associated lists, the program crashes and spits this out:

Traceback (most recent call last):
  File "anihilist.py", line 502, in <module>
    curses.wrapper(main)
  File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "anihilist.py", line 466, in main
    anime_list.setListKey('plan_to_watch')
  File "anihilist.py", line 168, in setListKey
    self._updateEntries()
  File "anihilist.py", line 157, in _updateEntries
    list_processed.append(Anime(al_data, self.xdcc_info, self))
  File "anihilist.py", line 49, in __init__
    if ep_total > 0:
TypeError: unorderable types: NoneType() > int()

Otherwise it works. Really awesome tool!

IllDepence commented 9 years ago

should be fixed now please let me know if the problem is resolved for you, too

sotojuan commented 9 years ago

Yup, everything working now. Thanks!