def remove_colors():
 for i in CONF['COLORS']:
  if isinstance(CONF['COLORS'][i], dict):
   for j in CONF['COLORS'][i]:
    CONF['COLORS'][i][j] = ''
  else:
   CONF['COLORS'][i] = ''

def remove_colors ( ) : for i in CONF [ 'COLORS' ] : if isinstance ( CONF [ 'COLORS' ] [ i ] , dict ) : for j in CONF [ 'COLORS' ] [ i ] : CONF [ 'COLORS' ] [ i ] [ j ] = '' else : CONF [ 'COLORS' ] [ i ] = ''
removes colour tags from a string .