diff --git a/library.py b/library.py index fca65f3..e7081ee 100644 --- a/library.py +++ b/library.py @@ -392,7 +392,7 @@ def get_part_details(self, lcsc: list) -> list: for number in lcsc: self.logger.debug(number) cur.execute(query, {"number": f'"{number}"'}) - results.extend([x for x in cur.fetchall() if x["lcsc"] == number]) # Filter exact match as FTS5 does return every match + results.extend(cur.fetchall()) return results def update(self):