From 95cc09106eac06a8590e7748a1c1b255fa02f62e Mon Sep 17 00:00:00 2001 From: gdamms Date: Wed, 23 Mar 2022 18:45:10 +0100 Subject: [PATCH] fix: comment logging --- src/database.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/database.py b/src/database.py index e2dcca8..4c8b8b1 100644 --- a/src/database.py +++ b/src/database.py @@ -10,16 +10,16 @@ DATA_FOLDER = "data/" def take_screenshot(device): result = device.screencap() - logging.debug("screenshot taken") + # logging.debug("screenshot taken") image = Image.open(io.BytesIO(result)) image = image.crop((0, 160, 2200, 860)) image.thumbnail((150, 150)) - logging.debug("screenshot converted") + # logging.debug("screenshot converted") # image = image.resize((150, 150), Image.ANTIALIAS) filename = uuid.uuid1() image.save(f"{DATA_FOLDER}/{filename}.png") - logging.debug("screenshot saved") + # logging.debug("screenshot saved") return filename