Fixed to print the same in python2 and 3

Before this python2 printed a list and python3 printed a string. Now both print the string as it should.