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%2Faces_config.py;h=616c7186deaa0c8d8d04b1c622bd315e45916c18;hp=e207d2000a67cebc99c2ef78efa4014ec0e84536;hb=4899e9d3946e6c80e80149ad2c388b15f271d852;hpb=670da4a6e52f2fb864768d1b93f5e0969f8469fc diff --git a/aces_1.0.0/python/aces_ocio/aces_config.py b/aces_1.0.0/python/aces_ocio/aces_config.py index e207d20..616c718 100755 --- a/aces_1.0.0/python/aces_ocio/aces_config.py +++ b/aces_1.0.0/python/aces_ocio/aces_config.py @@ -605,7 +605,7 @@ def create_config(config_data, # Add alias if aliases: - if reference_data.aliases != []: + if reference_data.aliases: # add_colorspace_alias(config, reference_data, # reference_data, reference_data.aliases) # defer adding alias colorspaces until end. Helps with some applications @@ -619,7 +619,7 @@ def create_config(config_data, # # Add Looks and Look colorspaces # - if look_info != []: + if look_info: print('Adding looks') config_data['looks'] = [] @@ -691,7 +691,7 @@ def create_config(config_data, # Add alias to normal colorspace, using compact name # if aliases: - if colorspace.aliases != []: + if colorspace.aliases: # add_colorspace_alias(config, reference_data, # colorspace, colorspace.aliases) # defer adding alias colorspaces until end. Helps with some applications