diff --git a/lumberjackBot.py b/lumberjackBot.py index 52d76d4..37f8e56 100644 --- a/lumberjackBot.py +++ b/lumberjackBot.py @@ -2,6 +2,10 @@ import pyautogui import time from PIL import ImageGrab +# monkey patch +pyautogui.pyscreeze.ImageGrab = ImageGrab +pyautogui.pyscreeze.screenshot = pyautogui.pyscreeze._screenshot_win32 + class lumberjackBot(): __author__ = "EnriqueMoran"