Update kmpd.py

This works in Ubuntu 13.10.