Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Random update to fix an issue. #29

Merged
merged 1 commit into from
Mar 9, 2018
Merged

Random update to fix an issue. #29

merged 1 commit into from
Mar 9, 2018

Conversation

Zenrac
Copy link

@Zenrac Zenrac commented Feb 23, 2018

>>> s.character(290).animeography
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Zenrac\AppData\Local\Programs\Python\Python36-32\lib\site-packages\python3_mal-0.2.10-py3.6.egg\myanimelist\base.py", line 87, in _decorator
  File "C:\Users\Zenrac\AppData\Local\Programs\Python\Python36-32\lib\site-packages\python3_mal-0.2.10-py3.6.egg\myanimelist\character.py", line 313, in load
  File "C:\Users\Zenrac\AppData\Local\Programs\Python\Python36-32\lib\site-packages\python3_mal-0.2.10-py3.6.egg\myanimelist\character.py", line 166, in parse
  File "C:\Users\Zenrac\AppData\Local\Programs\Python\Python36-32\lib\site-packages\python3_mal-0.2.10-py3.6.egg\myanimelist\character.py", line 115, in parse_sidebar
ValueError: invalid literal for int() with base 10: 'myanimelist.net'

I noticed that link_parts = ['https:', '', 'myanimelist.net', 'anime', '856', 'Utawarerumono']
so it cannot works with the 3th element
I made a random change that seems to work

@pushrbx
Copy link
Owner

pushrbx commented Feb 25, 2018

I remember fixing this before. Strange. I'll check this one myself too and I'll merge it if it's ok.

@pushrbx pushrbx merged commit 09e41e8 into pushrbx:master Mar 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants