diff --git a/service/marketSources/evepraisal.py b/service/marketSources/evepraisal.py index 9e8006c0b..e910b92fa 100644 --- a/service/marketSources/evepraisal.py +++ b/service/marketSources/evepraisal.py @@ -48,6 +48,8 @@ class EvePraisal: @staticmethod def fetchPrices(priceMap, fetchTimeout, system=None): + if system not in systemAliases: + return jsonData = { 'market_name': systemAliases[system], 'items': [{'type_id': typeID} for typeID in priceMap]} @@ -58,7 +60,7 @@ class EvePraisal: try: itemsData = data['appraisal']['items'] except (KeyError, TypeError): - return False + return # Cycle through all types we've got from request for itemData in itemsData: try: