update client.py for critpath updater
Small pep8 fix