Fix elite_info as well. Especially useful for its data dumper!

This commit is contained in:
Anna Rose 2016-01-21 01:01:45 -05:00
parent d0147e0dbb
commit a4a8d0ac8a

View File

@ -1,7 +1,8 @@
#!/usr/bin/python
from companion import Session, VerificationRequired
from EDMarketConnector.companion import Session, VerificationRequired
import argparse
from pprint import pprint
import os
import utils
@ -23,7 +24,7 @@ def main():
# Now we have the data!
if flags.dump:
print data
pprint(data)
else:
print "Commander %s" % data['commander']['name']
print "Credits: %s" % data['commander']['credits']