Update server.py

added missing brackets in function call