* src/ImageSelect.py: fix already_loaded initalization
svn: r5962
This commit is contained in:
parent
5e7041cae4
commit
acc52f6816
@ -1,3 +1,6 @@
|
||||
2006-02-19 Don Allingham <don@gramps-project.org>
|
||||
* src/ImageSelect.py: fix already_loaded initalization
|
||||
|
||||
2006-02-18 Don Allingham <don@gramps-project.org>
|
||||
* src/plugins/Makefile.am: added Calendary.py and
|
||||
holidays.xml
|
||||
|
@ -193,6 +193,8 @@ class ImageSelect:
|
||||
|
||||
internal = self.internal.get_active()
|
||||
|
||||
already_imported = None
|
||||
|
||||
if not internal:
|
||||
if os.path.exists(filename) == 0:
|
||||
msgstr = _("Cannot import %s")
|
||||
@ -200,8 +202,6 @@ class ImageSelect:
|
||||
ErrorDialog(msgstr % filename, msgstr2)
|
||||
return
|
||||
|
||||
already_imported = None
|
||||
|
||||
for o_id in self.db.get_media_object_handles():
|
||||
o = self.db.get_object_from_handle(o_id)
|
||||
if o.get_path() == filename:
|
||||
|
Loading…
x
Reference in New Issue
Block a user