diff --git a/MakeInstall.py b/MakeInstall.py index abf52cb..6172520 100755 --- a/MakeInstall.py +++ b/MakeInstall.py @@ -655,7 +655,7 @@ def install_clover(self, disk, clover_version = None): # Some users are having issues with the "partitions" key not populating - possibly a 3rd party disk management soft? # Possibly a bad USB? # We'll see if the key exists - if not, we'll throw an error. - if self.d.disks[str(disk["index"])].get("partitions",None) == None: + if self.d.disks[str(disk["index"])].get("partitions",None) is None: # No partitions found. shutil.rmtree(temp,ignore_errors=True) print("No partitions located on disk!")