From 221a3fde1429e5892dbff61f4ab00c3686ac039c Mon Sep 17 00:00:00 2001 From: blitzmann Date: Thu, 9 Jul 2015 18:18:36 -0400 Subject: [PATCH] Being extra cautious --- service/price.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/price.py b/service/price.py index 78e3e289b..71858cf7c 100644 --- a/service/price.py +++ b/service/price.py @@ -52,7 +52,7 @@ class Price(): 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