archiLaws AdminandClaude Opus 4.7 b17a7ae5d0 fix: set DISPLAY fallback before importing pyautogui
mouseinfo (pyautogui dependency) accesses os.environ['DISPLAY'] at
module level, which raises KeyError when ComfyUI runs headless.
Use setdefault to provide a fallback value without overwriting
an existing DISPLAY setting.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 11:24:16 +08:00
2025-01-17 17:17:45 +08:00
2024-03-24 17:08:23 +08:00
2024-03-24 16:34:56 +08:00
2024-03-24 16:34:56 +08:00
2024-03-24 16:34:56 +08:00
2024-06-07 23:31:02 +08:00
2024-03-24 16:34:56 +08:00
2025-01-17 17:17:45 +08:00
2025-01-17 17:17:45 +08:00
2024-03-24 16:34:56 +08:00

Just convert the 'trigger_field' to the input, an link a INT node. whatever int input from the previous node, it takes a full screenshot, and output an image. The print_to_screen is no use for now.

S
Description
No description provided
Readme GPL-3.0
811 KiB
Languages
Python 100%