fix SmartDisplay visible parameter (#2451)
This commit is contained in:
parent
5f1751acc2
commit
5cc1ecfe4a
@ -26,7 +26,7 @@ def xvfb():
|
||||
)
|
||||
|
||||
global DISPLAY
|
||||
with SmartDisplay(visible=0, size=XVFB_DIMENSIONS) as DISPLAY:
|
||||
with SmartDisplay(visible=False, size=XVFB_DIMENSIONS) as DISPLAY:
|
||||
yield DISPLAY
|
||||
DISPLAY = None
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user