Include all relevent book data without infinite recusion
This commit is contained in:
parent
0edb9688cb
commit
9beae9cfcd
2 changed files with 9 additions and 6 deletions
|
@ -55,6 +55,7 @@ class AbstractConnector(ABC):
|
|||
def create_book(self, key, data, model):
|
||||
''' create a work or edition from data '''
|
||||
# we really would rather use an existing book than make a new one
|
||||
print(data)
|
||||
match = match_from_mappings(data, self.key_mappings)
|
||||
if match:
|
||||
if not isinstance(match, model):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue