| # | Line 147 | Line 147 | class CustomObjectTable(Relativity_Conne | |
|---|---|---|
| 147 | print rlResponseCode | |
| 148 | self.currentItems = rlResponse['Results'] | |
| 149 | #print self.currentItems | |
| 150 | < | self.UpdateFieldMatrix(self.currentItems[0]['__Fields']) |
| 151 | < | self.currentItemCount = len(self.currentItems) |
| 150 | > | if self.currentItems: |
| 151 | > | self.UpdateFieldMatrix(self.currentItems[0]['__Fields']) |
| 152 | > | self.currentItemCount = len(self.currentItems) |
| 153 | > | |
| 154 | return self.currentItems | |
| 155 | ||
| 156 | def UpdateItemMatrix(self): | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |