From: Vincent Le Gallic Date: Fri, 31 Jul 2015 19:56:43 +0000 (+0200) Subject: 992fba3 : moron. 2 paths c'est mieux quand on C/c pas 2 fois le même. X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=10d0f3b01ec7e22cd88a6bd8071bc01b6a39bad0;p=scripts-20-100.git 992fba3 : moron. 2 paths c'est mieux quand on C/c pas 2 fois le même. --- 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)