fix import
python2.6 ... 去死吧你
import port from config
cpu need to be int