Add expanduser calls on src/dest in the module too

This commit is contained in:
James Cammarata 2014-02-26 15:18:27 -06:00
parent 21b2f3395a
commit 32a2636dc7

View file

@ -113,8 +113,8 @@ def main():
add_file_common_args=True,
)
src = module.params['src']
dest = module.params['dest']
src = os.path.expanduser(module.params['src'])
dest = os.path.expanduser(module.params['dest'])
backup = module.params['backup']
force = module.params['force']
original_basename = module.params.get('original_basename',None)