py3: fix KeyError syntax error - closes #2.
release: v0.2.3.