Bug with formatting of string

This commit is contained in:
Anton Hvornum 2022-02-09 15:25:42 +01:00
parent 1a82934a3c
commit ae7e791f40
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ class SysCommandWorker:
os.fsync(self.child_fd) os.fsync(self.child_fd)
with open('debug_write.txt', 'a') as silent_output: with open('debug_write.txt', 'a') as silent_output:
silent_output.write(f'Wrote {[data + (b'\n' if line_ending else b'')]}\n') silent_output.write(f"Wrote {[data + (b'\n' if line_ending else b'')]}\n")
return written_data return written_data