Commit 12da78d5 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Fix a bug in the kamaki menu

The account info was saved in the token field in .kamakirc
parent 3793498a
......@@ -440,7 +440,7 @@ def kamaki_menu(session):
del session["token"]
else:
session["token"] = answer.strip()
Kamaki.save_token(session['account'])
Kamaki.save_token(session['token'])
default_item = "Upload"
elif choice == "Upload":
if upload_image(session):
......@@ -960,7 +960,7 @@ def main():
while 1:
try:
out = CompositeOutput([log])
out.output("Starting %s version %s..." % \
out.output("Starting %s v%s..." % \
(parser.get_prog_name(), version))
ret = image_creator(d, media, out)
sys.exit(ret)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment