updated to latest pyEDSM
This commit is contained in:
parent
baf0a69396
commit
a7a44a34b2
2 changed files with 1 additions and 4 deletions
|
@ -78,9 +78,6 @@ def outputText():
|
||||||
except SystemNotFoundError as e:
|
except SystemNotFoundError as e:
|
||||||
print(e)
|
print(e)
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
except EdsmApiException as e:
|
|
||||||
print(e)
|
|
||||||
sys.exit(1)
|
|
||||||
nearestCmdr = min(distances,key=distances.get)
|
nearestCmdr = min(distances,key=distances.get)
|
||||||
if shortOutput:
|
if shortOutput:
|
||||||
print('nearest commander: {} ({} ly).'.format(nearestCmdr.name,
|
print('nearest commander: {} ({} ly).'.format(nearestCmdr.name,
|
||||||
|
|
2
pyEDSM
2
pyEDSM
|
@ -1 +1 @@
|
||||||
Subproject commit 7b6e31e51db59924bb138661d0097321ea2c16c8
|
Subproject commit 98d6beaffabbd91dea7ee9aff8e8732f7a01bc3e
|
Loading…
Reference in a new issue