symlink fix
This commit is contained in:
parent
980b1c4b74
commit
5063e95e78
1 changed files with 1 additions and 1 deletions
2
file
2
file
|
@ -340,7 +340,7 @@ def main():
|
|||
if src:
|
||||
src = os.path.expanduser(src)
|
||||
|
||||
if src is not None and os.path.isdir(path):
|
||||
if src is not None and os.path.isdir(path) and state != "link":
|
||||
params['path'] = path = os.path.join(path, os.path.basename(src))
|
||||
|
||||
mode = params.get('mode', None)
|
||||
|
|
Loading…
Reference in a new issue