diff --git a/pio-scripts/patch_apply.py b/pio-scripts/patch_apply.py index a15ae34..5c77f68 100644 --- a/pio-scripts/patch_apply.py +++ b/pio-scripts/patch_apply.py @@ -26,7 +26,7 @@ def replaceInFile(in_file, out_file, text, subs, flags=0): """Function for replacing content for the given file.""" if os.path.exists(in_file): - #read the file contents + # read the file contents with open(in_file, "r", encoding="utf-8") as infile: file_contents = infile.read()