From 3e803fef3071e0c6963e24ac27e8ad16d8bc96f4 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Tue, 8 Oct 2019 19:37:32 +0300 Subject: [PATCH] Actually expose capsule to a shuttle group --- service/market.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/market.py b/service/market.py index f7afacd18..7599e003c 100644 --- a/service/market.py +++ b/service/market.py @@ -173,7 +173,6 @@ class Market: self.les_grp.categoryID = ships.ID self.les_grp.description = "" self.les_grp.icon = None - print(self.getGroup("Shuttle")) self.ITEMS_FORCEGROUP = { "Capsule" : self.getGroup("Shuttle"), "Opux Luxury Yacht" : self.les_grp, # One of those is wedding present at CCP fanfest, another was hijacked from ISD guy during an event @@ -218,7 +217,8 @@ class Market: } self.ITEMS_FORCEGROUP_R = self.__makeRevDict(self.ITEMS_FORCEGROUP) - self.les_grp.addItems = list(self.getItem(itmn) for itmn in self.ITEMS_FORCEGROUP_R[self.les_grp]) + for grp, itemNames in self.ITEMS_FORCEGROUP_R.items(): + grp.addItems = list(self.getItem(i) for i in itemNames) self.customGroups.add(self.les_grp) # List of items which are forcibly published or hidden