borevitzlab/conviron — pull request #24 by kdmurray91 (2013-04-04 23:26:46+00:00)
Title: Fix #19, solve monitor SQL bug

Parameters were passed incorrectly to the cur.execute() calls, must be passed as a tuple, even if there's only one parameter:
`cur.execute(query, (param,))` NOT `cur.execute(query, param)`

Also pulling enchanced debug message reporting in the monitor main loop.
K