Update sat.py

more indentation corrections, added more debug msg for logger