Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouni committed Aug 2, 2024
1 parent bf16841 commit 7e6dc3b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ def get_part_details(self, lcsc: list) -> list:
query = '''SELECT "LCSC Part" AS lcsc, "Stock" AS stock, "Library Type" AS type FROM parts WHERE parts MATCH :number LIMIT 1'''
# Use parameter binding to prevent SQL injection and handle the query more efficiently
for number in lcsc:
self.logger.debug(number)
cur.execute(query, {"number": f'"{number}"'})
results.extend(cur.fetchall())
return results
Expand Down

0 comments on commit 7e6dc3b

Please sign in to comment.