1
0
Fork 0

Include all relevent book data without infinite recusion

This commit is contained in:
Mouse Reeve 2020-05-08 17:36:02 -07:00
parent 0edb9688cb
commit 9beae9cfcd
2 changed files with 9 additions and 6 deletions

View file

@ -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):