* various: change try_to_find_*_from_handle to
get_*_from_handle svn: r3355
This commit is contained in:
@@ -207,7 +207,7 @@ class SimpleBookTitleDialog(Report.BareReportDialog):
|
||||
self.options = opt
|
||||
self.db = database
|
||||
if self.options[0]:
|
||||
self.person = self.db.get_person(self.options[0])
|
||||
self.person = self.db.get_person_from_handle(self.options[0])
|
||||
else:
|
||||
self.person = person
|
||||
|
||||
@@ -423,7 +423,7 @@ def write_book_item(database,person,doc,options,newpage=0):
|
||||
All user dialog has already been handled and the output file opened."""
|
||||
try:
|
||||
if options[0]:
|
||||
person = database.get_person(options[0])
|
||||
person = database.get_person_from_handle(options[0])
|
||||
if options[1]:
|
||||
title_string = options[1]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user