Added an except in server.py