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):
|
elif isLink(filePath):
|
||||||
if isDirectory(destination):
|
if isDirectory(destination):
|
||||||
os.symlink(os.readlink(filePath), join_path(destination, os.path.basename(filePath)))
|
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:
|
else:
|
||||||
|
if isFile(destination):
|
||||||
|
os.remove(destination)
|
||||||
os.symlink(os.readlink(filePath), destination)
|
os.symlink(os.readlink(filePath), destination)
|
||||||
elif isDirectory(filePath):
|
elif isDirectory(filePath):
|
||||||
copytree(filePath, destination)
|
copytree(filePath, destination)
|
||||||
|
|||||||
Reference in New Issue
Block a user