mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
9 lines
211 B
Python
9 lines
211 B
Python
try:
|
|
import pysqlite3 as sqlite3
|
|
import pysqlite3.dbapi2
|
|
|
|
OperationalError = pysqlite3.dbapi2.OperationalError
|
|
except ImportError:
|
|
import sqlite3
|
|
|
|
OperationalError = sqlite3.OperationalError
|