Update commander.py

This commit is contained in:
Richard Bronkhorst 2023-06-22 07:34:45 +02:00
parent 2d792dffae
commit 0e3f939b9a

View File

@ -212,7 +212,7 @@ class Commander(CommandLine):
def do_query(self):
location = self.ask_obj(System, 'Where are you? ')
resource = input('what resource?').upper()
sellbuy = self.ask_multichoice(['sell','buy'], 'do you want to sell or buy?')
sellbuy = self.ask_multichoice(['sell','buy','exchange'], 'do you want to sell or buy?')
print('Found markets:')
for m in self.analyzer.find_markets(resource, sellbuy):
system = self.store.get(System, m.system())