Update temp.py

removed not needed code