SITL stucked in an old uploaded mission

Greetings All,

Recently, I have been playing with the MAVSDK-Python and I wrote a code that uploads a mission to the SITL. But every time I open the SITL even without executing any script the mission is uploaded.

What can I do to fix that ?

The mission is saved on the autopilot side. If you want to clear it you could use:
http://mavsdk-python-docs.s3-website.eu-central-1.amazonaws.com/plugins/mission.html#mavsdk.mission.Mission.clear_mission