Fixes infinite recursion when loading books

Also fixes bug in serializing page nubmers
This commit is contained in:
Mouse Reeve
2020-12-17 12:02:59 -08:00
parent 2799ed68e3
commit 04ba5abf45
3 changed files with 13 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class Edition(Book):
isbn13: str = ''
oclcNumber: str = ''
asin: str = ''
pages: str = ''
pages: int = None
physicalFormat: str = ''
publishers: List[str] = field(default_factory=lambda: [])