forked from josch/img2pdf
demote print() to logger.debug()
This commit is contained in:
parent
7d40569aa1
commit
7fa67bb337
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue