Removed double try..except block in net.py