fixed a runtime error in networkserver.py
shitty commit message