Skip to content

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

@giampaolo

Description

@giampaolo

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions