Import pysqlite3 if available, closes #360 (#361)

This commit is contained in:
Simon Willison 2018-08-15 17:58:56 -07:00 committed by GitHub
commit aae49fef3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 18 additions and 10 deletions

View file

@ -2,7 +2,6 @@ import asyncio
import csv
import json
import re
import sqlite3
import time
import urllib
@ -25,6 +24,7 @@ from datasette.utils import (
path_with_format,
remove_infinites,
resolve_table_and_format,
sqlite3,
to_css_class,
value_as_boolean,
)