summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-06-01 00:13:11 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-06-01 00:13:11 +0300
commitd0ab2b4f08a38a26d0330a8555bfd934a7015a4e (patch)
tree04b51ea2c7aee7450713e37606e1aef00c424615 /src
parent9c274be432233984b0c911d2ca043ea9b7095b85 (diff)
add some logging
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sound_bot.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sound_bot.py b/src/sound_bot.py
index dc9b2c1..9dec6b7 100755
--- a/src/sound_bot.py
+++ b/src/sound_bot.py
@@ -458,8 +458,9 @@ def camera_capture(ctx: Context) -> None:
if 'rotate' in camera_config:
im = Image.open(fd.name)
im.rotate(camera_config['rotate'], expand=True)
- # im.show()
+ im.show()
im.save(fd.name)
+ logger.debug(f"rotated image {camera_config['rotate']} degrees")
try:
with open(fd.name, 'rb') as f: