remove +1 from size that was cutting off first char of copied files when a recursive dir

fixes #12055
pull/12077/head
Brian Coca 9 years ago
parent 6e107d2f22
commit 17060f9849

@ -97,7 +97,7 @@ class ActionModule(ActionBase):
if os.path.isdir(source):
# Get the amount of spaces to remove to get the relative path.
if source_trailing_slash:
sz = len(source) + 1
sz = len(source)
else:
sz = len(source.rsplit('/', 1)[0]) + 1

Loading…
Cancel
Save