I can't seem to figure out what's going on here. When I compile I get the does not match error.
It gives me the error about indentation mismatch on the line with bgB = 0;
def calcBG(ftemp):
"This calculates the color value for the background"
variance = ftemp - justRight;   # Calculate the variance
adj = calcColorAdj(variance);   # Scale it to 8 bit int
bgList = [0,0,0]                # initialize the color array
if(variance < 0):         
    bgR = 0;                    # too cold, no red         bgB = adj;                  # green and blue slide equally with adj         bgG = 255 - adj;     elif(variance == 0):            # perfect, all on green         bgR = 0;         bgB = 0;         bgG = 255;     elif(variance > 0):             # too hot - no blue
    bgB = 0;
    bgR = adj;                  # red and green slide equally with Adj
    bgG = 255 - adj;
so after updating the code with what @Downshift suggested and adding a few elifs i got the same thing
def calcBG(ftemp):
    "This calculates the color value for the background"
    variance = ftemp - justRight;   # Calculate the variance
    adj = calcColorAdj(variance);   # Scale it to 8 bit int
    bgList = [0,0,0]                # initialize the color array
    if(variance < 0):
        bgR = 0;                    # too cold, no red
        bgB = adj;                  # green and blue slide equally with adj
        bgG = 255 - adj;
    elif(variance == 0):            # perfect, all on green
        bgR = 0;
        bgB = 0;
        bgG = 255;
    elif(variance > 0):             # too hot - no blue
        bgB = 0;
        bgR = adj;                  # red and green slide equally with Adj
        bgG = 255 - adj;
ALSO: if someone could point out/explain to me exactly what i'm failing at that'd be great. because i can't seem to find my issue in this second portion. which is the same issue as the first.
 
    