!= -> is not
This commit is contained in:
parent
ffa29e2cd4
commit
32135f0b46
|
|
@ -213,7 +213,7 @@ class Installer:
|
|||
partition['device_instance'].unmount()
|
||||
else:
|
||||
mountpoints[partition['mountpoint']] = partition
|
||||
for mountpoint in sorted([mnt_dest for mnt_dest in mountpoints.keys() if mnt_dest != None]):
|
||||
for mountpoint in sorted([mnt_dest for mnt_dest in mountpoints.keys() if mnt_dest is not None]):
|
||||
partition = mountpoints[mountpoint]
|
||||
if partition.get('encrypted', False) and not partition.get('subvolume',None):
|
||||
loopdev = f"{storage.get('ENC_IDENTIFIER', 'ai')}{pathlib.Path(partition['mountpoint']).name}loop"
|
||||
|
|
|
|||
Loading…
Reference in New Issue