Skip to content

Commit

Permalink
Being extra cautious
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzmann committed Jul 9, 2015
1 parent 1f82465 commit 221a3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/price.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def fetchPrices(cls, prices):
item = eos.db.getItem(typeID)
# We're not going to request items only with market group, as eve-central
# doesn't provide any data for items not on the market
if item.marketGroupID:
if item is not None and item.marketGroupID:
toRequest.add(typeID)

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

0 comments on commit 221a3fd

Please sign in to comment.