Hi Manuel,

Thank you very much.
Your script works perfectly in my environment.

Only one modification I made was
if "color" in portPath:
to
if "color" in str(portPath):

Thank you.