Blender BGE, Logic or python problem. Always place two elements?
The script is triggered twice. On positive and negative pulse of the sensor.
Check if the sensor triggering the script is positive:
How to ask Python if a sensor is activated, BGE?