Update networks.py

whoops