Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #2718 from skyl/patch-1

try to fallback to pysqlite2.dbapi2 as sqlite3 in core.history
  • Loading branch information...
commit 42886e39384ff3d1f9a264faf3d6dcafc5fb6420 2 parents e81ebf3 + 09c5f96
@Carreau Carreau authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 IPython/core/history.py
View
5 IPython/core/history.py
@@ -20,7 +20,10 @@
try:
import sqlite3
except ImportError:
- sqlite3 = None
+ try:
+ from pysqlite2 import dbapi2 as sqlite3
+ except ImportError:
+ sqlite3 = None
import threading
# Our own packages
Please sign in to comment.
Something went wrong with that request. Please try again.