Another small PEP8 fix
Fix error when opening the host network properties window