[python] fix NetworkSetup.py