From 865db3788cbdbb9b3af73ec20b89b4e8f96b64ca Mon Sep 17 00:00:00 2001 From: koumakpet Date: Mon, 16 Mar 2020 14:11:57 +0100 Subject: [PATCH] Fixed ensuring directories for symlinks --- lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.py b/lib.py index f79b8e1..7946d42 100644 --- a/lib.py +++ b/lib.py @@ -455,7 +455,7 @@ class Path: symlink_pointer {str} -- path where symlink should be pointing path {str} -- path in which the symlink should be created ''' - Path.ensure_dirs(symlink_pointer, file_end=True) + Path.ensure_dirs(path, file_end=True) Command.execute(f'ln -sf {symlink_pointer} {path}') Print.comment(f'Created symlink: {path} -> {symlink_pointer}')