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,4 +1,7 @@
import sqlite3
try:
import pysqlite3 as sqlite3
except (ImportError, ModuleNotFoundError):
import sqlite3
import click
from flask import current_app, g