Update photo.py

Done