Update NetworkTools.py

Fix missing import