From ae7e791f408cc8fd8f2715d7372a4229b52f1623 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 9 Feb 2022 15:25:42 +0100 Subject: [PATCH] Bug with formatting of string --- archinstall/lib/general.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py index f2ed05ee..73d7230c 100644 --- a/archinstall/lib/general.py +++ b/archinstall/lib/general.py @@ -288,7 +288,7 @@ class SysCommandWorker: os.fsync(self.child_fd) 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 @@ -363,7 +363,7 @@ class SysCommandWorker: # We need to flush any pending output to the parent # otherwise it will bleed into the child: https://docs.python.org/3/library/os.html#os.execvpe sys.stdout.flush() - + self.pid, self.child_fd = pty.fork() os.chdir(old_dir)