Skip to content

Commit

Permalink
Merge pull request #10 from sebastian-correa/patch-1
Browse files Browse the repository at this point in the history
Fix incorrect xauth check in AbstractDisplay
  • Loading branch information
mdmintz authored Dec 12, 2024
2 parents a6c725b + 4e50793 commit 61b8f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbvirtualdisplay/abstractdisplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, use_xauth=False):
USED_DISPLAY_NR_LIST.append(self.display)
finally:
mutex.release()
if xauth and not xauth.is_installed():
if use_xauth and not xauth.is_installed():
raise xauth.NotFoundError()
self.use_xauth = use_xauth
self._old_xauth = None
Expand Down

0 comments on commit 61b8f62

Please sign in to comment.