From d55646b1d4b2d571043503aa30b30161ea27f602 Mon Sep 17 00:00:00 2001 From: koumakpet Date: Sat, 14 Mar 2020 14:00:49 +0100 Subject: [PATCH] FIX: ensure_dirs for Path.copy function --- lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.py b/lib.py index 2469d05..f79b8e1 100644 --- a/lib.py +++ b/lib.py @@ -466,6 +466,6 @@ class Path: path {str} -- path to original 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}') Print.comment(f'Copied {path} to {copied_path}')