Skip to content

Commit 4e50793

Browse files
Fix incorrect xauth check in AbstractDisplay
The check incorrectly checked against the xauth module, instead of checking against use_xauth.
1 parent a6c725b commit 4e50793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbvirtualdisplay/abstractdisplay.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def __init__(self, use_xauth=False):
2222
USED_DISPLAY_NR_LIST.append(self.display)
2323
finally:
2424
mutex.release()
25-
if xauth and not xauth.is_installed():
25+
if use_xauth and not xauth.is_installed():
2626
raise xauth.NotFoundError()
2727
self.use_xauth = use_xauth
2828
self._old_xauth = None

0 commit comments

Comments
 (0)