Use pysqlite3 if available

This commit is contained in:
Simon Willison 2019-07-22 15:39:35 -07:00
commit 152eb2afaf
6 changed files with 10 additions and 6 deletions

4
sqlite_utils/utils.py Normal file
View file

@ -0,0 +1,4 @@
try:
import pysqlite3 as sqlite3
except ImportError:
import sqlite3