From 9ebb12f52d0124515b60e1a890fa75048a9af470 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 12 Aug 2014 18:27:13 +0100 Subject: [PATCH] Add HED and GE-8 --- dropbot/bot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dropbot/bot.py b/dropbot/bot.py index 3f4a864..93fcb3b 100644 --- a/dropbot/bot.py +++ b/dropbot/bot.py @@ -15,6 +15,8 @@ market_systems = [ ('Amarr', 30002187), ('Rens', 30002510), ('Dodixie', 30002659), + ('HED-GP', 30001161), + ('GE-8JV', 30001198), ] @@ -169,7 +171,7 @@ class DropBot(ClientXMPP): for name, sys_id in market_systems: sell, buy = self._get_evecentral_price(type_id, sys_id) print name, sell, buy - if sell < min_sell or min_sell == 0: + if (sell < min_sell or min_sell == 0) and sell > 0: min_sell = sell sell_sys = name if buy > max_buy: