Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Commit

Permalink
fix(a11y): remove check for none in systemwide
Browse files Browse the repository at this point in the history
AXUIElementCreateSystemWide is not documented to return None
  • Loading branch information
daveenguyen committed Mar 23, 2019
1 parent c223296 commit 188231f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions atomacos/a11y.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,6 @@ def systemwide(cls):
accessibility object.
"""
app_ref = AXUIElementCreateSystemWide()

if app_ref is None:
raise AXErrorUnsupported("Error getting a11y object")

return cls(ref=app_ref)

@classmethod
Expand Down

0 comments on commit 188231f

Please sign in to comment.