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

disk_partitions() on Windows overrides user's SetErrorMode() #1046

Closed
giampaolo opened this issue May 2, 2017 · 2 comments
Closed

disk_partitions() on Windows overrides user's SetErrorMode() #1046

giampaolo opened this issue May 2, 2017 · 2 comments

Comments

@giampaolo
Copy link
Owner

giampaolo commented May 2, 2017

SetErrorMode() is used in disk_partitions() because in case of error it may display a message box. It is reset to system default before exiting the function but instead it should be reset the error mode to whatever it was before in case the user changed it in the python app.

@giampaolo
Copy link
Owner Author

See #264

@giampaolo giampaolo changed the title disk_partitions() on Windows doesn't properly reset user SetErrorMode disk_partitions() on Windows overrides user's SetErrorMode() May 2, 2017
@giampaolo
Copy link
Owner Author

4c07213

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

No branches or pull requests

1 participant