Python: bugfix for color names with space character