Spelling error

This commit is contained in:
Anton Hvornum 2020-12-07 15:30:00 +01:00
parent de4471ca68
commit 24dfe97386
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ class Filesystem():
def add_partition(self, type, start, end, format=None):
log(f'Adding partition to {self.blockdevice}', level=LOG_LEVELS.Info, file=storage.get('logfile', None))
if format:
paritioning = self.parted(f'{self.blockdevice.device} mkpart {type} {format} {start} {end}') == 0:
paritioning = self.parted(f'{self.blockdevice.device} mkpart {type} {format} {start} {end}') == 0
else:
paritioning = self.parted(f'{self.blockdevice.device} mkpart {type} {start} {end}') == 0