Fixed duplicated printing in python 2.7