X-Git-Url: http://users.mur.at/ms/git/gitweb/?p=OpenColorIO-Configs.git;a=blobdiff_plain;f=aces_1.0.0%2Fpython%2Faces_ocio%2FgenerateLUT.py;h=53f86e1b9f7aeb42032d38f35979c1f2c72a1719;hp=df3cbed262a7093bae1b6798a02e815c7886c607;hb=48d67eb8a5804cd9cabf0a22c3f421502b983b24;hpb=70a314dd5edd3eeadf3593ef37b908993db3e801 diff --git a/aces_1.0.0/python/aces_ocio/generateLUT.py b/aces_1.0.0/python/aces_ocio/generateLUT.py index df3cbed..53f86e1 100644 --- a/aces_1.0.0/python/aces_ocio/generateLUT.py +++ b/aces_1.0.0/python/aces_ocio/generateLUT.py @@ -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",