mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Workaround for sqlite stupidity.
This commit is contained in:
parent
2963fd352d
commit
0e1b6923f7
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user