Revert "Fix index error"

This reverts commit 5afeeed62c.
This commit is contained in:
angelblue05 2016-10-30 10:27:16 -05:00
parent 348db57cee
commit a76ce7424f

View file

@ -372,7 +372,7 @@ def addUser():
result = doUtils.downloadUrl(url) result = doUtils.downloadUrl(url)
try: try:
additionalUsers = result[0]['AdditionalUsers'] additionalUsers = result[0]['AdditionalUsers']
except (IndexError, KeyError, TypeError) as error: except (KeyError, TypeError) as error:
log.error(error) log.error(error)
additionaluser = [] additionaluser = []