reorder PyAutoGUI fail-safe feature initialization

This commit is contained in:
2025-07-22 14:12:57 +02:00
parent 5419c4454b
commit ee328eb480
+2 -3
View File
@@ -11,13 +11,12 @@ import cv2
import pygetwindow as gw
import numpy as np
import pyautogui
# Disable the PyAutoGUI fail-safe feature.
pyautogui.FAILSAFE = False
from pynput import keyboard
import tkinter as tk
from PIL import ImageGrab, Image, ImageTk
# Disable the PyAutoGUI fail-safe feature.
pyautogui.FAILSAFE = False
# Setup logs directory
LOGS_DIR = 'logs'