Update client.py

fixed curly brace