* src/plugins/WriteFTree.py: increment the count properly

svn: r2166
This commit is contained in:
Don Allingham 2003-09-24 22:49:51 +00:00
parent 18243b32d7
commit 53cc112eb2

View File

@ -153,10 +153,6 @@ class FtreeWriter:
ErrorDialog(m1,m2)
return
self.flist = {}
for key in self.plist.keys():
p = self.db.getPerson(key)
name_map = {}
id_map = {}
id_name = {}
@ -177,6 +173,7 @@ class FtreeWriter:
nn = "%s%d" % (n,count)
if not name_map.has_key(nn):
break;
count += 1
name_map[nn] = key
id_map[key] = nn
else: