Update pydlog.py

fix some bugs