Fixed syntax issue with missing :

This commit is contained in:
Anton Hvornum 2022-02-09 10:19:57 +01:00
parent 16dd6fe0cd
commit d90c3fa2f5
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ class Partition:
yield result
def partprobe(self) -> bool:
if self.block_device
if self.block_device:
try:
SysCommand(f'partprobe {self.block_device.device}')
time.sleep(1)