monkey patch that shit lib

This commit is contained in:
JerryXiao 2021-02-26 21:28:07 +08:00
parent 6da76dc344
commit 0d0a5bdc33
Signed by: Jerry
GPG Key ID: 9D9CE43650FF2BAA
1 changed files with 4 additions and 0 deletions

View File

@ -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"