Fixed type in line 2087. too many (.
svn: r10799
This commit is contained in:
parent
d04f7e26d4
commit
8d33306a2e
@ -2084,7 +2084,7 @@ class GrampsBSDDB(GrampsDbBase, UpdateCallback):
|
||||
if name == 'Note':
|
||||
# Special case: we are way down at the very bottom.
|
||||
# Create note, commit it, return a list with one handle.
|
||||
if (isinstance(obj, tuple) and (len(obj) > 0) and \
|
||||
if isinstance(obj, tuple) and (len(obj) > 0) and \
|
||||
('strip' in dir(obj[0])) and (obj[0].strip()):
|
||||
# Some notes may be None, from early databases.
|
||||
(text, format) = obj
|
||||
|
Loading…
Reference in New Issue
Block a user