Commit 2dea8bb
committed
Fix bug #11
Correct RestSession.get_items() to check for the existence of a JSON
‘items’ attribute by checking to see ‘if items is None’ instead of
just checking for ‘if items’, which incorrectly raises the error when
‘items’ is present but is an empty array.1 parent 20ed390 commit 2dea8bb
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
| 147 | + | |
151 | 148 | | |
152 | 149 | | |
153 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
0 commit comments