mirror of
https://github.com/gavanfantom/jlc-chart.git
synced 2026-08-07 06:50:54 +01:00
Use pysqlite3 if available
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
import sqlite3
|
||||
try:
|
||||
import pysqlite3 as sqlite3
|
||||
except (ImportError, ModuleNotFoundError):
|
||||
import sqlite3
|
||||
|
||||
import click
|
||||
from flask import current_app, g
|
||||
|
||||
Reference in New Issue
Block a user