4841: Crash when exporting in sqlite database
svn: r17338
This commit is contained in:
parent
d2f21b2b74
commit
390c71e6d0
@ -782,7 +782,11 @@ class GrampsXmlWriter(UpdateCallback):
|
||||
if not obj:
|
||||
return
|
||||
sp = " " * index
|
||||
change_text = ' change="%d"' % obj.get_change_time()
|
||||
try:
|
||||
change_text = ' change="%d"' % obj.get_change_time()
|
||||
except:
|
||||
change_text = ' change="%d"' % 0
|
||||
|
||||
handle_text = ' handle="_%s"' % obj.get_handle()
|
||||
|
||||
obj_text = '%s<%s' % (sp, tagname)
|
||||
|
Loading…
Reference in New Issue
Block a user