Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Conversation

@NaelsonDouglas
Copy link

The problem
There was a case where the code was using a manual file handler pitfall, where a file stream was being opened and closed manually. But since Python supports automatic stream closing using the block 'with', its better to use it instead of the manual close in order to remove a bug vector.

Solution
Refactored the code to remove the manual file handler

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant