Update peregrine.py

how did that get there