diff --git a/plugins/edapi_plug.py b/plugins/edapi_plug.py index 0c113c1d..4275af12 100644 --- a/plugins/edapi_plug.py +++ b/plugins/edapi_plug.py @@ -447,6 +447,7 @@ def askForStationData(self, system, stnName=None, station=None): Ask for new or updated station data """ tdb, tdenv = self.tdb, self.tdenv + askForData = False stnDefault = namedtuple( 'stnDefault', [ @@ -455,15 +456,6 @@ def askForStationData(self, system, stnName=None, station=None): ] ) - # defaults for Station, which could come from API - askForData = False - if not station: - defMarket, defShipyard, defOutfitting = "?", "?", "?" - else: - defMarket = station.market - defShipyard = station.shipyard - defOutfitting = station.outfitting - def tellUserAPIResponse(defName, defValue): if defValue == "Y": tdenv.NOTE("{:>12} in API response", defName)