Traceback (most recent call last):
File "dlu_test.py", line 5, in <module>
img = pm.tune(orig_img, 'imagepool.db') # Adjust colors levels to what's availabe in the pool.
File "/home/dlu/Projects/photomosaic/photomosaic.py", line 283, in tune
pool_hist = pool_histogram(db)
File "/home/dlu/Projects/photomosaic/photomosaic.py", line 323, in pool_histogram
GROUP BY {ch}""".format(ch=ch))
sqlite3.OperationalError: no such column: red