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

Commit

Permalink
fix(AXClasses): actually set the string
Browse files Browse the repository at this point in the history
  • Loading branch information
daveenguyen committed Mar 15, 2019
1 parent 680068a commit 19eb8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atomacos/AXClasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def getActions(self):

def setString(self, attribute, string):
"""Set the specified attribute to the specified string."""
return self._setString(attribute, string)
return self.__setattr__(attribute, str(string))

def getElementAtPosition(self, coord):
"""Return the AXUIElement at the given coordinates.
Expand Down

0 comments on commit 19eb8ce

Please sign in to comment.