summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: