Update osxphotos/utils.py

Co-authored-by: Rhet Turnbull <rturnbull@gmail.com>
This commit is contained in:
britiscurious
2020-05-08 22:55:56 +02:00
committed by GitHub
parent 5eb0876e33
commit 69356c0b57

View File

@@ -130,7 +130,6 @@ def _hardlink_file(src, dest):
if not os.path.isfile(src):
raise FileNotFoundError("src file does not appear to exist", src)
command = ["ln", src, dest]
# if error on copy, subprocess will raise CalledProcessError
try: