mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-11 09:20:34 +01:00
Update patch_apply.py
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user