Fixed bad usage of python variables causing same recipt send several times when using maxlines option