Update port_nanny.py

fixed syntax mistake.