Commit 5f71834
When receiving an empty api response, only reset the measurements. (#2)
Currently all measurement keys are removed when receiving an empty
response. The object will not recover from this and will log
an exception when accessing `self.values.keys()` on a subsequent,
succesful, response.1 parent 87c2318 commit 5f71834
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
0 commit comments