Fix improvements
This commit is contained in:
parent
4b70feede1
commit
7ea68064d8
@ -55,6 +55,7 @@ def main():
|
|||||||
src_file.close()
|
src_file.close()
|
||||||
|
|
||||||
# writing back
|
# writing back
|
||||||
|
if modified:
|
||||||
src_file = open(dirpath + "/" + filename, "w")
|
src_file = open(dirpath + "/" + filename, "w")
|
||||||
src_file.write("".join(lines))
|
src_file.write("".join(lines))
|
||||||
src_file.close()
|
src_file.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user