Update commander.py
This commit is contained in:
parent
3a85c6c367
commit
35ea9e2e04
@ -227,6 +227,10 @@ class Commander(CommandLine):
|
|||||||
resource = delivery['trade_symbol']
|
resource = delivery['trade_symbol']
|
||||||
self.api.deliver(self.ship, resource, contract)
|
self.api.deliver(self.ship, resource, contract)
|
||||||
pprint(contract)
|
pprint(contract)
|
||||||
|
|
||||||
|
def do_fulfill(self):
|
||||||
|
contract = self.active_contract()
|
||||||
|
self.api.fulfill(contract)
|
||||||
|
|
||||||
def do_ship(self, arg=''):
|
def do_ship(self, arg=''):
|
||||||
if arg != '':
|
if arg != '':
|
||||||
|
Loading…
Reference in New Issue
Block a user