afq984 / void-battery

Garena Path of Exile POB exporter
https://void-battery.afq984.org
GNU Affero General Public License v3.0
18 stars 11 forks source link

KeyError: '可變的' #5

Closed afq984 closed 4 years ago

afq984 commented 4 years ago

version: ef536d2

Traceback (most recent call last):
  File "/srv/main.py", line 132, in pob
    data = export(items, tree)
  File "/srv/pobgen.py", line 247, in export
    items, skills = ItemsSkills(tree['items'] + items['items'])
  File "/srv/pobgen.py", line 217, in ItemsSkills
    pob = item_to_pob(item)
  File "/srv/pobgen.py", line 165, in item_to_pob
    return '\n'.join(i_item_to_pob(item))
  File "/srv/pobgen.py", line 130, in i_item_to_pob
    radius = {'小': 'Small', '中': 'Medium', '大': 'Large'}[prop['values'][0][0]]
KeyError: '可變的'
afq984 commented 4 years ago

Should be fixed by #9 Reopen if not