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

PR: Make the saving of the weather station list more robust in the "Download Weather" tool. #180

Merged
merged 2 commits into from
Apr 12, 2018

Conversation

jnsebgosselin
Copy link
Owner

Fixes #154

Enclose the code that saves the weather station list in a try statement to protect it against PermissionError in case the saving to the file is blocked by another application. A warning is issued to the user when this situation occurs.

@jnsebgosselin jnsebgosselin added this to the gwhat-0.3.0 milestone Apr 12, 2018
@jnsebgosselin jnsebgosselin self-assigned this Apr 12, 2018
@jnsebgosselin jnsebgosselin merged commit 5bf98dc into master Apr 12, 2018
@jnsebgosselin jnsebgosselin deleted the make_saving_weather_stalist_more_robust branch April 12, 2018 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Saving the weather station to file makes GWHAT crash
1 participant