fix SmartDisplay visible parameter (#2451)

This commit is contained in:
benedikt-bartscher 2024-01-25 02:41:16 +01:00 committed by GitHub
parent 5f1751acc2
commit 5cc1ecfe4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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