Update server.py

Simple change to a function.