Update server.py

small tidy up, and comment out 2 lines above 'def check_origin' as beleive it meant as commenting