[psy_il] do python 25 compatible import for pysqlite in common/logger.py too
This commit is contained in:
parent
42621a44be
commit
c841e3b744
|
@ -21,6 +21,9 @@ import datetime
|
|||
import exceptions
|
||||
import gajim
|
||||
|
||||
try:
|
||||
import sqlite3 as sqlite # python 2.5
|
||||
except ImportError:
|
||||
try:
|
||||
from pysqlite2 import dbapi2 as sqlite
|
||||
except ImportError:
|
||||
|
|
Loading…
Reference in New Issue