Update scanner.py

change 	print 'IP address not valid at line '+cnt to print 'IP address not valid at line '+str(cnt)