jonghwanhyeon / overwatch-stats

A Python library to query a player's overwatch stats from Battle.net
MIT License
12 stars 2 forks source link

AttributeError in extractors #5

Closed dOdEcadillion closed 6 years ago

dOdEcadillion commented 6 years ago

This error occurs whenever I make a basic query.

File "...\overwatch\stats\extractors.py", line 39, in extract_level
    match = re.search(r'/playerlevelrewards/(0x[0-9A-Z]+)_Border', level.get('style'))
AttributeError: 'NoneType' object has no attribute 'get'
jonghwanhyeon commented 6 years ago

It works for my battle tag 현종환#3104. It would be helpful if you can tell me your battle tag.

dOdEcadillion commented 6 years ago

I restarted my computer and just ran the query again and it ran with no problems... I was messing with my dev environments before I had run the script so maybe something funky happened while I was doing that. Other than that, not sure what happened since I didn't change anything code wise. Anyways, thank you for the reply. Sorry to bother.