Also make sure the dest param is expanded locally before recalculating
This commit is contained in:
parent
e47f6137e5
commit
4e9c061b35
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ class ActionModule(object):
|
|||
else:
|
||||
source_local = source
|
||||
|
||||
dest = os.path.expanduser(dest)
|
||||
if flat:
|
||||
if dest.endswith("/"):
|
||||
# if the path ends with "/", we'll use the source filename as the
|
||||
|
|
Loading…
Reference in a new issue