Browse Source

Use pysqlite3 if available

master
Gavan Fantom 3 years ago
parent
commit
545e9cb84c
  1. 5
      jlcchart/db.py

5
jlcchart/db.py

@ -1,4 +1,7 @@
import sqlite3
try:
import pysqlite3 as sqlite3
except (ImportError, ModuleNotFoundError):
import sqlite3
import click
from flask import current_app, g

Loading…
Cancel
Save