Replace "\n" with n in Python scripts

This commit is contained in:
2023-07-28 14:52:41 +02:00
parent b60bb22112
commit 5185bcb6a7
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ def write(s):
read = f.read()
# We are appening content, as we moved in-file cursor.
if read != '':
f.write("\n")
f.write('\n')
f.write(s)
f.flush()
fcntl.flock(f, fcntl.LOCK_UN)