Fixing a syntax error in the mws.py file