mirror of
https://github.com/trycua/computer.git
synced 2026-05-01 04:30:50 -05:00
Disabled pyautogui FAILSAFE
This commit is contained in:
@@ -23,6 +23,7 @@ logger = logging.getLogger(__name__)
|
||||
# This allows the server to run in headless environments
|
||||
try:
|
||||
import pyautogui
|
||||
pyautogui.FAILSAFE = False
|
||||
|
||||
logger.info("pyautogui successfully imported, GUI automation available")
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user