Skip to content

Commit 221a3fd

Browse files
committed
Being extra cautious
1 parent 1f82465 commit 221a3fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

service/price.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def fetchPrices(cls, prices):
5252
item = eos.db.getItem(typeID)
5353
# We're not going to request items only with market group, as eve-central
5454
# doesn't provide any data for items not on the market
55-
if item.marketGroupID:
55+
if item is not None and item.marketGroupID:
5656
toRequest.add(typeID)
5757

5858
# Do not waste our time if all items are not on the market

0 commit comments

Comments
 (0)