Fix migration errors.
This commit is contained in:
parent
5303cc7766
commit
c41e7d5de5
|
@ -1 +1 @@
|
||||||
Subproject commit 0654796a1a5d6809041695591971e3f857a9989c
|
Subproject commit 588997e3127dca13c8899f2ec08c2ff2f19070bc
|
|
@ -11,7 +11,6 @@ flag_parser.add_argument('--dump', action='store_true', help="Dump raw data.")
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
settings = utils.get_settings()
|
settings = utils.get_settings()
|
||||||
session = Session()
|
|
||||||
flags = flag_parser.parse_args()
|
flags = flag_parser.parse_args()
|
||||||
|
|
||||||
companion.login(settings.get('ed_companion', 'username'), settings.get('ed_companion', 'password'))
|
companion.login(settings.get('ed_companion', 'username'), settings.get('ed_companion', 'password'))
|
||||||
|
@ -24,8 +23,7 @@ def main():
|
||||||
print "Commander %s" % data['commander']['name']
|
print "Commander %s" % data['commander']['name']
|
||||||
print "Credits: %s" % data['commander']['credits']
|
print "Credits: %s" % data['commander']['credits']
|
||||||
print "Location: %s" % data['lastSystem']['name']
|
print "Location: %s" % data['lastSystem']['name']
|
||||||
|
|
||||||
session.close()
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
Reference in New Issue
Block a user