mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 21:29:24 +01:00
fix sqlite3 import for python 2.4
This commit is contained in:
parent
dbbef9ec43
commit
95aa56c694
@ -48,7 +48,10 @@ import time
|
||||
#'plugin. Download it at ' \
|
||||
#'<http://code.google.com/p/pysqlite/>'
|
||||
|
||||
import sqlite3
|
||||
try:
|
||||
import sqlite3
|
||||
except:
|
||||
from pysqlite2 import dbapi2 as sqlite3 # for python2.4
|
||||
|
||||
# these are needed cuz we are overriding getdb
|
||||
import threading
|
||||
|
Loading…
Reference in New Issue
Block a user