interpret new civs: Poles and Bohemians
Namek opened this issue · 3 comments
Namek commented
File "c:\dev\project\backend\mgz\mgz\model\__init__.py", line 83, in parse_match
dataset['civilizations'][str(player['civilization_id'])]['name'],
KeyError: '38'
Someone played a new Civ "Poles". The other new one is "Bohemians".
Namek commented
It looks like the aocref
dependency has already updated the new civs: https://github.com/Namek/aoc-reference-data/blob/master/data/datasets/100.json#L118-L123 but it's not released on pypi yet.
For the time being I patched it for myself like this: Namek@0c0c1db
happyleavesaoc commented
Will release new versions of everything soon; want to make sure 25.01 parsing is working well first
happyleavesaoc commented
1.5.5
pushed to pypi (w/ aocref 1.0.5
)