Skip to content

Commit

Permalink
Remove debugging message
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouni committed Jul 30, 2024
1 parent 2b3bc6b commit d5dede7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion store.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ def get_part(self, ref: str) -> dict:
def set_stock(self, ref: str, stock: int):
"""Set the stock value for a part in the database."""
with contextlib.closing(sqlite3.connect(self.dbfile)) as con, con as cur:
self.logger.debug(ref)
cur.execute(
"UPDATE part_info SET stock = :stock WHERE reference = :reference", {"reference": ref, "stock": stock}
)
Expand Down

0 comments on commit d5dede7

Please sign in to comment.