Use i, not 6 (#1526)

This commit is contained in:
Ross Scroggs
2022-05-27 13:44:43 -07:00
committed by GitHub
parent f9786468db
commit 3a41b31e19

View File

@@ -27,7 +27,7 @@ def create():
body['scopeType'])
if body['scopeType'] == 'ORG_UNIT':
orgUnit, orgUnitId = gapi_directory_orgunits.getOrgUnitId(
sys.argv[6], cd)
sys.argv[i], cd)
body['orgUnitId'] = orgUnitId[3:]
scope = f'ORG_UNIT {orgUnit}'
i = 7