Closed gustavo-hsm closed 4 years ago
Noticed this happening overnight. Couldn't track exactly which item listing caused this, but the error message suggests a NoneType could be passed onto that field.
Some offers had empty price data, possibly because the trader left it empty (such as currency laying on the stash). I added a quick check to evaluate is there's data on that field. A null value will be in place of both 'buying_currency' and 'buying_price' fields, should new offers fall on this category again.
'buying_currency': item['listing']['price']['currency']. TypeError: 'NoneType' object is not subscriptable