Refactor mouse button handling to use string literals instead of ButtonType constants; add debug print for screenshot action in web server

This commit is contained in:
2025-05-19 08:53:46 +02:00
parent 84d65cb505
commit 41f7d0e210
2 changed files with 5 additions and 4 deletions

View File

@@ -40,6 +40,7 @@ class WebServerApp:
img_data = None
else:
if 'host_screenshot' in data:
print('Taking screenshot...')
# take a screenshot right here
# capture the full screen
screenshot_img = ImageGrab.grab()