Commit affdadda by y_nk

handling case of space in path (given would start with single quote)

parent 0aec8244
......@@ -321,6 +321,9 @@ def path_dwim(basedir, given):
make relative paths work like folks expect.
'''
if given.startswith("'"):
given = given[1:-1]
if given.startswith("/"):
return os.path.abspath(given)
elif given.startswith("~"):
......
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