Fix elite_info as well. Especially useful for its data dumper!
This commit is contained in:
parent
d0147e0dbb
commit
a4a8d0ac8a
|
@ -1,7 +1,8 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
from companion import Session, VerificationRequired
|
from EDMarketConnector.companion import Session, VerificationRequired
|
||||||
import argparse
|
import argparse
|
||||||
|
from pprint import pprint
|
||||||
import os
|
import os
|
||||||
import utils
|
import utils
|
||||||
|
|
||||||
|
@ -23,7 +24,7 @@ def main():
|
||||||
|
|
||||||
# Now we have the data!
|
# Now we have the data!
|
||||||
if flags.dump:
|
if flags.dump:
|
||||||
print data
|
pprint(data)
|
||||||
else:
|
else:
|
||||||
print "Commander %s" % data['commander']['name']
|
print "Commander %s" % data['commander']['name']
|
||||||
print "Credits: %s" % data['commander']['credits']
|
print "Credits: %s" % data['commander']['credits']
|
||||||
|
|
Reference in New Issue
Block a user