mirror of
https://github.com/gavanfantom/jlc-chart.git
synced 2026-07-16 21:10:53 +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
|
import click
|
||||||
from flask import current_app, g
|
from flask import current_app, g
|
||||||
|
|||||||
Reference in New Issue
Block a user