Added back fix for IP array
@@ -27,9 +27,12 @@ def getValue(path, source):
return getValue('.'.join(p[1:]), source[p[0]])
else:
if p[0] == 'ip':
+ if type(source[p[0]]) == type([]):
return source[p[0]][0]
else:
return source[p[0]]
+ else:
+ return source[p[0]]
else:
return None
