Updated kb.py

Someone else broke this. I swear.