Workaround for sqlite stupidity.

This commit is contained in:
Jeremy Fincher 2004-01-21 10:57:55 +00:00
parent 2963fd352d
commit 0e1b6923f7

View File

@ -55,7 +55,12 @@ import callbacks
import structures
try:
if 'mx' in sys.modules:
original = sys.modules['mx']
sys.modules['mx'] = None
import sqlite
if 'mx' in sys.modules:
sys.modules['mx'] = original
sqlite.have_datetime = False
Connection = sqlite.Connection
class MyConnection(sqlite.Connection):