Change comparison with "None".
[OpenColorIO-Configs.git] / aces_1.0.0 / python / aces_ocio / generateLUT.py
index df3cbed..53f86e1 100644 (file)
@@ -131,7 +131,7 @@ def generate1dLUTFromImage(ramp1dPath,
          Return value description.
     """
 
-    if outputPath == None:
+    if outputPath is None:
         outputPath = ramp1dPath + ".spi1d"
 
     # open image
@@ -196,7 +196,7 @@ def generate3dLUTFromImage(ramp3dPath, outputPath=None, resolution=32):
          Return value description.
     """
 
-    if outputPath == None:
+    if outputPath is None:
         outputPath = ramp3dPath + ".spi3d"
 
     args = ["--extract",