Commit b4b8807d authored by Chris McDonough's avatar Chris McDonough

Expand tilde from dirname into HOME.

parent 8aec3aee
......@@ -69,6 +69,7 @@ def main():
sys.exit(2)
if not dirname:
dirname = get_dirname()
dirname = os.path.expanduser(dirname)
inituser = os.path.join(dirname, "inituser")
if not (user or os.path.exists(inituser)):
user, password = get_inituser()
......
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