mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-17 23:52:46 +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