Fix "gam update customer", customer field not needed.

This commit is contained in:
Jay Lee 2015-09-30 08:34:38 -04:00
parent 1ae2b960c7
commit c9b2c1d8d6

3
gam.py
View File

@ -1259,8 +1259,7 @@ def doGetCustomerInfo():
def doUpdateCustomer():
cd = buildGAPIObject(u'directory')
body = {}
customer = sys.argv[3]
i = 4
i = 3
while i < len(sys.argv):
myarg = sys.argv[i].lower().replace(u'_', u'')
if myarg == u'alternateemail':