From 10d0f3b01ec7e22cd88a6bd8071bc01b6a39bad0 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Fri, 31 Jul 2015 21:56:43 +0200 Subject: [PATCH] =?utf8?q?992fba3=20:=20moron.=202=20paths=20c'est=20mieux?= =?utf8?q?=20quand=20on=20C/c=20pas=202=20fois=20le=20m=C3=AAme.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- extract_ipython.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract_ipython.py b/extract_ipython.py index b918e11..2e06dc6 100755 --- a/extract_ipython.py +++ b/extract_ipython.py @@ -23,7 +23,7 @@ req = 'SELECT * FROM history WHERE session=%s;' % sessionid history_file = os.path.expanduser('~/.config/ipython/profile_default/history.sqlite') if not os.path.isfile(history_file): - history_file = os.path.expanduser('~/.config/ipython/profile_default/history.sqlite') + history_file = os.path.expanduser('~/.ipython/profile_default/history.sqlite') c = sqlite3.connect(history_file) r = c.execute(req) -- 2.39.2