Remove ,newline='\n' so this branch works for testing

This change is already merged but add to this branch for testing
This commit is contained in:
Dylan Taylor 2021-04-07 12:09:11 -04:00
parent 99917807bd
commit 2d797e7819
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ class Installer():
self.log(f"Updating {self.mountpoint}/etc/fstab", level=LOG_LEVELS.Info)
fstab = sys_command(f'/usr/bin/genfstab {flags} {self.mountpoint}').trace_log
with open(f"{self.mountpoint}/etc/fstab", 'ab',newline='\n') as fstab_fh:
with open(f"{self.mountpoint}/etc/fstab", 'ab') as fstab_fh:
fstab_fh.write(fstab)
if not os.path.isfile(f'{self.mountpoint}/etc/fstab'):