Fixed syntax issue with missing :
This commit is contained in:
parent
16dd6fe0cd
commit
d90c3fa2f5
|
|
@ -261,7 +261,7 @@ class Partition:
|
||||||
yield result
|
yield result
|
||||||
|
|
||||||
def partprobe(self) -> bool:
|
def partprobe(self) -> bool:
|
||||||
if self.block_device
|
if self.block_device:
|
||||||
try:
|
try:
|
||||||
SysCommand(f'partprobe {self.block_device.device}')
|
SysCommand(f'partprobe {self.block_device.device}')
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue