Update networks.py

Fixed error on line 311