typo: NameError: global name 'gen' is not defined
This commit is contained in:
parent
6d0c5d4e0e
commit
20a17bed89
@ -1933,7 +1933,7 @@ class CheckIntegrity(object):
|
|||||||
for handle in self.db.source_map.keys():
|
for handle in self.db.source_map.keys():
|
||||||
self.progress.step()
|
self.progress.step()
|
||||||
info = self.db.source_map[handle]
|
info = self.db.source_map[handle]
|
||||||
source = gen.lib.Source()
|
source = Source()
|
||||||
source.unserialize(info)
|
source.unserialize(info)
|
||||||
new_media_ref_list = []
|
new_media_ref_list = []
|
||||||
for media_ref in source.get_media_list():
|
for media_ref in source.get_media_list():
|
||||||
@ -1948,7 +1948,7 @@ class CheckIntegrity(object):
|
|||||||
sourceref = citation_handle
|
sourceref = citation_handle
|
||||||
else:
|
else:
|
||||||
sourceref = eval(citation_handle)
|
sourceref = eval(citation_handle)
|
||||||
new_citation = gen.lib.Citation()
|
new_citation = Citation()
|
||||||
new_citation.set_date_object(sourceref[0])
|
new_citation.set_date_object(sourceref[0])
|
||||||
new_citation.set_privacy(sourceref[1])
|
new_citation.set_privacy(sourceref[1])
|
||||||
new_citation.set_note_list(sourceref[2])
|
new_citation.set_note_list(sourceref[2])
|
||||||
|
Loading…
Reference in New Issue
Block a user