Update commander.py

This commit is contained in:
Richard Bronkhorst 2023-06-19 10:36:30 +02:00
parent 3a85c6c367
commit 35ea9e2e04

View File

@ -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 != '':