fix Path.copy
This commit is contained in:
parent
b1bbafecc6
commit
beb2689333
|
@ -59,7 +59,7 @@ class Path(str):
|
|||
if target.exists and overwrite:
|
||||
target.delete()
|
||||
|
||||
copyfile(self, target)
|
||||
shutil.copyfile(self, target)
|
||||
|
||||
|
||||
def delete(self):
|
||||
|
|
Loading…
Reference in a new issue