Update snap.py

Fixed indent and added comment