From ee328eb4809791b627e3952a5ae778ceda689b0c Mon Sep 17 00:00:00 2001 From: Gabriel20xx Date: Tue, 22 Jul 2025 14:12:57 +0200 Subject: [PATCH] reorder PyAutoGUI fail-safe feature initialization --- main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 50fdf67..c29deb3 100644 --- a/main.py +++ b/main.py @@ -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'