FIX: ensure_dirs for Path.copy function

This commit is contained in:
koumakpet 2020-03-14 14:00:49 +01:00
parent 4694a00aad
commit d55646b1d4

2
lib.py
View file

@ -466,6 +466,6 @@ class Path:
path {str} -- path to original file path {str} -- path to original file
copied_path {str} -- path to new file copied_path {str} -- path to new file
''' '''
Path.ensure_dirs(symlink_pointer, file_end=True) Path.ensure_dirs(copied_path, file_end=True)
Command.execute(f'cp {path} {copied_path}') Command.execute(f'cp {path} {copied_path}')
Print.comment(f'Copied {path} to {copied_path}') Print.comment(f'Copied {path} to {copied_path}')