-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix write_to_file function Probably because of the usage of low level functions, as for example os.open and os.fdopen, it's harder to deal with buffering which can result into files with inconsistent content, which breaks the configuration and the hardware-exporter service. After adding using high level functions and make the code simpler, the bug seems to be fixed Closes: #305
- Loading branch information
1 parent
98b502e
commit c4f807b
Showing
2 changed files
with
54 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters