Use pysqlite3 if available

This commit is contained in:
Gavan Fantom
2021-12-02 15:01:19 +00:00
parent 52d823cf47
commit 545e9cb84c

View File

@@ -1,3 +1,6 @@
try:
import pysqlite3 as sqlite3
except (ImportError, ModuleNotFoundError):
import sqlite3 import sqlite3
import click import click