Fix index error

This commit is contained in:
angelblue05 2016-10-30 04:46:37 -05:00
parent 1ca4ef48f5
commit 5afeeed62c

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 (KeyError, TypeError) as error: except (IndexError, KeyError, TypeError) as error:
log.error(error) log.error(error)
additionaluser = [] additionaluser = []