X-Git-Url: http://gitweb.pimeys.fr/?a=blobdiff_plain;f=extract_ipython.py;h=2e06dc67baa467503a1f2a5c7e44e8c5cef3c26d;hb=b8264a67e554b40a7083ab16545fa4ab0e936a9d;hp=b918e1111f5c7fa39712db386f70bf4b313b2e39;hpb=992fba38b00fb33dbe4e1a2f8cbe5c98742bcc85;p=scripts-20-100.git 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)