feat: add conditional handling for ARRAY mode in BookGrabber

This commit is contained in:
2024-11-27 13:53:00 +01:00
parent 28bcbdd97c
commit 8876f1279e

View File

@@ -61,9 +61,12 @@ class BookGrabber(QThread):
continue
bd = BibTextTransformer(self.mode)
if self.use_exact:
bd = bd.use_signature(entry)
bd = bd.get_data(webdata).return_data()
print(webdata)
if self.mode == "ARRAY":
if self.use_exact:
bd = bd.use_signature(entry)
bd = bd.get_data(webdata).return_data()
print(bd)
if bd is None:
# bd = BookData
continue