Fixes infinite recursion when loading books
Also fixes bug in serializing page nubmers
This commit is contained in:
parent
2799ed68e3
commit
04ba5abf45
3 changed files with 13 additions and 2 deletions
|
@ -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: [])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue