Update client.py

fix for AWS