One more fix for python2-3 compatibility.