Skip to content

fix for reporting accelerator key with UIA#6025

Closed
mohammad-suliman wants to merge 1 commit into
nvaccess:masterfrom
mohammad-suliman:acceleratorKeyUIA
Closed

fix for reporting accelerator key with UIA#6025
mohammad-suliman wants to merge 1 commit into
nvaccess:masterfrom
mohammad-suliman:acceleratorKeyUIA

Conversation

@mohammad-suliman

Copy link
Copy Markdown
Contributor

a fix for issue: #6021

except COMError:
return None
pass
if ret != "":

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tiny nit: It's more Pythonic to just do:

if ret:

A string tests as true if it is non-empty.

@jcsteh

jcsteh commented Jun 9, 2016

Copy link
Copy Markdown
Contributor

I made this change myself plus updated the copyright header (c864bdd) and merged to next. Thanks for your work.

@michaelDCurran

Copy link
Copy Markdown
Member

This was squash merged to master in 1682a3b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants