From 65692ec2ef3f0b171ff20a17b8ad4c9a243e770a Mon Sep 17 00:00:00 2001 From: hsoft Date: Sun, 7 Jun 2009 06:55:17 +0000 Subject: [PATCH] pe cocoa: fixed a bug preventing iPhoto library from being added. --HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%4011 --- py/app_pe_cocoa.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py/app_pe_cocoa.py b/py/app_pe_cocoa.py index 6d3b22e9..30745606 100644 --- a/py/app_pe_cocoa.py +++ b/py/app_pe_cocoa.py @@ -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):