Commit 9d6078ab authored by jurges's avatar jurges

Merge branch 'fix-configuration-bug' into 'master'

Fix configuration error

See merge request !1
parents dd4a9173 67976c8c
......@@ -73,9 +73,11 @@ for f in ["~/.awe/Environment.cfg", "~/.stagingrc"]:
print("%s - stager_access: Could not find user credential file \"%s\"." % (datetime.datetime.now(), file))
continue
user = credentials["user"]
passw = credentials["password"]
break
if 'user' in credentials and 'password' in credentials:
user = credentials.get("user")
passw = credentials.get("password")
break
if user is not None and passw is not None:
print("%s - stager_access: Creating proxy" % (datetime.datetime.now()))
......
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