Fixed python2 compatibility. My bad