Skip to content

Commit 4948322

Browse files
committed
Update binpython.py
1 parent e020d57 commit 4948322

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

binpython.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ def importpygame():
118118
import pygame.locals
119119
import pyglet
120120
null = importpygame
121-
import pyautogui
121+
try:
122+
import pyautogui
123+
except:
124+
pass
122125
#warning for gui
123126
except ImportError:
124127
if libs_warning == "1":

0 commit comments

Comments
 (0)