fix callback call

svn: r4546
This commit is contained in:
Don Allingham 2005-05-11 03:34:03 +00:00
parent 4ae013652b
commit cc595f783c

View File

@ -940,7 +940,8 @@ class GrampsParser:
pass pass
def stop_database(self,*tag): def stop_database(self,*tag):
self.callback(False) if self.callback:
self.callback(False)
def stop_object(self,*tag): def stop_object(self,*tag):
self.db.commit_media_object(self.object,self.trans,self.change) self.db.commit_media_object(self.object,self.trans,self.change)