typo yapmışım.. Furkan farkedip haber verdi sağolsun.
This commit is contained in:
@@ -133,10 +133,9 @@ def copy(source, destination):
|
||||
elif isLink(filePath):
|
||||
if isDirectory(destination):
|
||||
os.symlink(os.readlink(filePath), join_path(destination, os.path.basename(filePath)))
|
||||
if isFile(destination):
|
||||
os.remove(destination)
|
||||
os.symlink(os.readlink(filePath), destination)
|
||||
else:
|
||||
if isFile(destination):
|
||||
os.remove(destination)
|
||||
os.symlink(os.readlink(filePath), destination)
|
||||
elif isDirectory(filePath):
|
||||
copytree(filePath, destination)
|
||||
|
||||
Reference in New Issue
Block a user