Fixed syntax issue with missing :
This commit is contained in:
parent
16dd6fe0cd
commit
d90c3fa2f5
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue