mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-13 07:47:14 +03:00
Handle Limpets
This commit is contained in:
parent
16f989ac12
commit
5fac03203a
@ -40,7 +40,7 @@ def addcommodities(data):
|
||||
'name' : commodity.get('locName') or 'Limpets',
|
||||
}
|
||||
old = commodities.get(key)
|
||||
if old:
|
||||
if old and companion.category_map.get(commodity['categoryname'], True):
|
||||
if new['symbol'] != old['symbol'] or new['name'] != old['name']:
|
||||
raise AssertionError('%s: "%s"!="%s"' % (key, new, old))
|
||||
commodities[key] = new
|
||||
|
Loading…
x
Reference in New Issue
Block a user