diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index 453607a69..29971f74c 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -757,7 +757,7 @@ class ShipBrowser(wx.Panel): sMarket = service.Market.getInstance() - sMarket.getShipListDelayed(self.stage2Callback, categoryID) + sMarket.getShipListDelayed(categoryID, self.stage2Callback) self._stage2Data = categoryID diff --git a/service/market.py b/service/market.py index 8fd701b71..7432a5f1c 100644 --- a/service/market.py +++ b/service/market.py @@ -51,7 +51,7 @@ class ShipBrowserWorkerThread(threading.Thread): sMarket = Market.getInstance() while True: try: - callback, id = queue.get() + id, callback = queue.get() set = cache.get(id) if set is None: set = sMarket.getShipList(id)