monkey patch that shit lib
This commit is contained in:
parent
6da76dc344
commit
0d0a5bdc33
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@ import pyautogui
|
||||||
import time
|
import time
|
||||||
from PIL import ImageGrab
|
from PIL import ImageGrab
|
||||||
|
|
||||||
|
# monkey patch
|
||||||
|
pyautogui.pyscreeze.ImageGrab = ImageGrab
|
||||||
|
pyautogui.pyscreeze.screenshot = pyautogui.pyscreeze._screenshot_win32
|
||||||
|
|
||||||
class lumberjackBot():
|
class lumberjackBot():
|
||||||
|
|
||||||
__author__ = "EnriqueMoran"
|
__author__ = "EnriqueMoran"
|
||||||
|
|
Loading…
Reference in a new issue