Browse Source

Merge branch 'peek-1406' into 'master'

PEEK-1406 Fix TypeError due to slice input from a Github contributor

See merge request peek/util/soappy-py3!2
main
Jarrod Chesney 3 years ago
parent
commit
07bf2943ed
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/SOAPpy/Types.py

+ 2
- 0
src/SOAPpy/Types.py View File

@@ -1451,6 +1451,8 @@ class arrayType(collections.UserList, compoundType):
def __getitem__(self, item):
try:
return self.data[int(item)]
except TypeError:
return self.data[item]
except ValueError:
return getattr(self, item)



Loading…
Cancel
Save