From 7fa67bb337078b981f8fac664d5ad0f506bca9f5 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Mon, 29 May 2023 09:25:21 +0200 Subject: [PATCH] demote print() to logger.debug() --- src/img2pdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/img2pdf.py b/src/img2pdf.py index 3a4f8c6..47ed960 100755 --- a/src/img2pdf.py +++ b/src/img2pdf.py @@ -445,7 +445,7 @@ class temp_attr: if hasattr(self.obj, self.field): self.exists = True self.old_value = getattr(self.obj, self.field) - print(f"setting {self.obj}.{self.field} = {self.value}") + logger.debug(f"setting {self.obj}.{self.field} = {self.value}") setattr(self.obj, self.field, self.value) def __exit__(self, exctype, excinst, exctb):