Update commander.py
This commit is contained in:
parent
2d792dffae
commit
0e3f939b9a
@ -212,7 +212,7 @@ class Commander(CommandLine):
|
|||||||
def do_query(self):
|
def do_query(self):
|
||||||
location = self.ask_obj(System, 'Where are you? ')
|
location = self.ask_obj(System, 'Where are you? ')
|
||||||
resource = input('what resource?').upper()
|
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:')
|
print('Found markets:')
|
||||||
for m in self.analyzer.find_markets(resource, sellbuy):
|
for m in self.analyzer.find_markets(resource, sellbuy):
|
||||||
system = self.store.get(System, m.system())
|
system = self.store.get(System, m.system())
|
||||||
|
Loading…
Reference in New Issue
Block a user