şunun yansıması
https://github.com/arsenetar/dupeguru.git
eşitlendi 2025-09-11 17:58:17 +00:00
[#37 state:fixed] Ignore AlreadyExistsError in IPhotoLibrary.
--HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%4086
Bu işleme şunda yer alıyor:
ebeveyn
e618a9bc55
işleme
de178a5aba
@ -103,7 +103,11 @@ class IPhotoLibrary(fs.Directory):
|
||||
subdir = subdir[element]
|
||||
except KeyError:
|
||||
subdir = fs.Directory(subdir, element)
|
||||
IPhoto(subdir, photo_path)
|
||||
try:
|
||||
IPhoto(subdir, photo_path)
|
||||
except fs.AlreadyExistsError:
|
||||
# it's possible for 2 entries in the plist to point to the same path. Ignore one of them.
|
||||
pass
|
||||
|
||||
def update(self):
|
||||
self.clear()
|
||||
|
Yükleniyor…
x
Yeni konuda referans
Bir kullanıcı engelle