fix org unit check on create user

This commit is contained in:
Jay Lee
2014-10-03 05:53:56 -04:00
parent b679cab397
commit 1de0bd345f

2
gam.py
View File

@@ -3508,7 +3508,7 @@ def doCreateUser():
i += 2
elif sys.argv[i].lower() in [u'org', u'ou']:
org = sys.argv[i+1]
if org[1] != u'/':
if org[0] != u'/':
org = u'/%s' % org
body[u'orgUnitPath'] = org
i += 2