if the colour is missing, it should be black, not white

This commit is contained in:
Damien Elmes 2011-03-24 17:18:18 +09:00
parent 4ff5b81134
commit e53ae3f2b0

View file

@ -418,7 +418,7 @@ order by modelId, ordinal"""):
# ensure data is good # ensure data is good
conf['rtl'] = not not conf['rtl'] conf['rtl'] = not not conf['rtl']
conf['pre'] = True conf['pre'] = True
conf['qcol'] = conf['qcol'] or "#fff" conf['qcol'] = conf['qcol'] or "#000"
mods[row[0]].append(conf) mods[row[0]].append(conf)
# now we've gathered all the info, save it into the models # now we've gathered all the info, save it into the models
for mid, fms in mods.items(): for mid, fms in mods.items():