Loading

break?

  1. colours_to_filter = []
  2.   for coltype in allowed_colour_types:
  3.     if coltype == 'ALL':
  4.       for n in range(0, 215):
  5.         colours_to_filter.append(n)
  6.       break
  7.     if coltype == 'GRAYSCALE':
  8.       for n in range(1, 16):
  9.         colours_to_filter.append(n)
  10.     if coltype == 'METAL':
  11.       for n in range(16, 24):
  12.         colours_to_filter.append(n)

Comments