dclaar / purple_air

Code for displaying Air Quality from a Purple Air device
MIT License
6 stars 4 forks source link

Get IndexError from nurequests #14

Closed dclaar closed 3 years ago

dclaar commented 3 years ago

This is actually an issue in micropython in code a long ways above urequest, so I'm just going to mitigate it.

dclaar commented 3 years ago

Well, I already kind of ignore it, but in my fallback.

Oops! Fell through!
:None
Traceback (most recent call last):
  File "main.py", line 55, in main
  File "aqi.py", line 366, in Run
  File "aqi.py", line 361, in Run
  File "aqi.py", line 321, in GetData
  File "aqi.py", line 319, in GetData
  File "m5stickc.py", line 240, in GetURI
  File "m5stickc.py", line 238, in GetURI
  File "nurequests.py", line 55, in request
IndexError: list index out of range