coleifer/peewee — pull request #94 by b1naryth1ef (2012-06-22 17:18:46+00:00)
Title: Fixed thread_locals not actually working.

Cheap fix that you may feel like rewriting to actually trace back to the problem. The thread_locals var was being passed in as connect_kwargs as opposed to the keyword.

Again, this is probably just a temporary fix.