Update snap.py

Fixed a typo