Fix migration errors.

This commit is contained in:
Anna Rose 2016-01-21 14:45:34 -05:00
parent 5303cc7766
commit c41e7d5de5
2 changed files with 2 additions and 4 deletions

@ -1 +1 @@
Subproject commit 0654796a1a5d6809041695591971e3f857a9989c Subproject commit 588997e3127dca13c8899f2ec08c2ff2f19070bc

View File

@ -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'))
@ -25,7 +24,6 @@ def main():
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()