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

@ -1,4 +1,3 @@
import sqlite3
import urllib
import jinja2
@ -19,6 +18,7 @@ from datasette.utils import (
path_with_added_args,
path_with_removed_args,
path_with_replaced_args,
sqlite3,
to_css_class,
urlsafe_components,
value_as_boolean,