mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
pe cocoa: fixed a bug preventing iPhoto library from being added.
--HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%4011
This commit is contained in:
parent
97872fc086
commit
65692ec2ef
@ -189,7 +189,8 @@ class DupeGuruPE(app_cocoa.DupeGuru):
|
||||
def AddDirectory(self, d):
|
||||
result = app_cocoa.DupeGuru.AddDirectory(self, d)
|
||||
if (result == 0) and (d == 'iPhoto Library'):
|
||||
added.update()
|
||||
[iphotolib] = [dir for dir in self.directories if dir.path == d]
|
||||
iphotolib.update()
|
||||
return result
|
||||
|
||||
def CopyOrMove(self, dupe, copy, destination, dest_type):
|
||||
|
Loading…
x
Reference in New Issue
Block a user