From a4a8d0ac8a453175338321e36f10f486772d7f13 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Thu, 21 Jan 2016 01:01:45 -0500 Subject: [PATCH] Fix elite_info as well. Especially useful for its data dumper! --- elite_info.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/elite_info.py b/elite_info.py index b72ad54..6be2bd4 100755 --- a/elite_info.py +++ b/elite_info.py @@ -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']