Update analyzer.py
This commit is contained in:
parent
707f142e7a
commit
fbda97df61
@ -34,6 +34,8 @@ class Analyzer:
|
||||
yield m
|
||||
|
||||
def find_closest_market(self, resource, sellbuy, location):
|
||||
if type(location) == str:
|
||||
location = self.store.get(System, location)
|
||||
market = None
|
||||
distance = None
|
||||
for m in self.find_markets(resource, sellbuy):
|
||||
|
Loading…
Reference in New Issue
Block a user