Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion notebook/services/sessions/sessionmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
# Distributed under the terms of the Modified BSD License.

import uuid
import sqlite3

try:
import sqlite3
except ImportError:
# fallback on pysqlite2 if Python was build without sqlite
from pysqlite2 import dbapi2 as sqlite3

from tornado import gen, web

Expand Down