Update server_swapper.py

Changed method for string comparison to something less barbaric