Also make sure the dest param is expanded locally before recalculating

This commit is contained in:
James Cammarata 2014-09-23 15:36:24 -05:00
parent e47f6137e5
commit 4e9c061b35

View file

@ -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