This is a guess as I do not have MySqldb on my system. But looking at the syntax of MySQL statements in the documentation I wonder if your quote characters and parentheses are correct. Try changing the INSERT to:
cursor.execute("""INSERT INTO temperatur6 VALUES (%s) """,(temperatur_sensor1))