Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example wxTerminal.py Typo #443

Closed
dirttraxx opened this issue Jul 16, 2019 · 0 comments
Closed

Example wxTerminal.py Typo #443

dirttraxx opened this issue Jul 16, 2019 · 0 comments

Comments

@dirttraxx
Copy link

Traceback (most recent call last):
File "wxTerminal.py", line 356, in OnDTR
self.serial.dtr = event.Checked()
AttributeError: 'CommandEvent' object has no attribute 'Checked'

Using Python 2.7.16 and WX 4.0.5
Fix is change line 355 from

self.serial.dtr = event.Checked()
to
self.serial.dtr = event.IsChecked()

(should be similar to line 352)

dirttraxx added a commit to dirttraxx/pyserial that referenced this issue Jul 16, 2019
Fixed typo causing issue pyserial#443
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

No branches or pull requests

1 participant