Revert "edit the publish_subscribe.py"

This reverts commit fee070271088ca2fd08fcb10ecf1dba8f86b51ff.