Pastebin

1
2
3
4
5
6
7
def _extract_index_key(self, doc, keys):
         key_values = list()
         for key in keys:
-            sub, key = _traverse_doc(doc, key)
+            sub, key = _traverse_doc(doc, key[0])
             key_values.append(sub.get(key, None))
         return tuple(key_values)