|
|
@@ -16,7 +16,8 @@ def main() -> None:
|
|
|
|
|
|
planets: typing.Sequence[supply.FIOBurn] = cache.get('https://rest.fnar.net/fioweb/burn/user/' + config.username,
|
|
|
headers={'Authorization': config.fio_api_key})
|
|
|
- producing = frozenset(mat['MaterialTicker'] for planet in planets for mat in planet['OrderProduction'])
|
|
|
+ producing = frozenset(mat['MaterialTicker'] for planet in planets for mat in planet['OrderProduction']
|
|
|
+ if mat['MaterialTicker'] not in (c['MaterialTicker'] for c in planet['OrderConsumption']))
|
|
|
materials = []
|
|
|
for mat in producing:
|
|
|
price = raw_prices[mat]
|