{"action":"created","issue":{"url":"https://api.github.com/repos/theskumar/python-dotenv/issues/25","repository_url":"https://api.github.com/repos/theskumar/python-dotenv","labels_url":"https://api.github.com/repos/theskumar/python-dotenv/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/theskumar/python-dotenv/issues/25/comments","events_url":"https://api.github.com/repos/theskumar/python-dotenv/issues/25/events","html_url":"https://github.com/theskumar/python-dotenv/pull/25","id":156115349,"number":25,"title":"Fix for IPython notebook","user":{"login":"pjbull","id":1799186,"avatar_url":"https://avatars.githubusercontent.com/u/1799186?v=3","gravatar_id":"","url":"https://api.github.com/users/pjbull","html_url":"https://github.com/pjbull","followers_url":"https://api.github.com/users/pjbull/followers","following_url":"https://api.github.com/users/pjbull/following{/other_user}","gists_url":"https://api.github.com/users/pjbull/gists{/gist_id}","starred_url":"https://api.github.com/users/pjbull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjbull/subscriptions","organizations_url":"https://api.github.com/users/pjbull/orgs","repos_url":"https://api.github.com/users/pjbull/repos","events_url":"https://api.github.com/users/pjbull/events{/privacy}","received_events_url":"https://api.github.com/users/pjbull/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-21T18:29:51Z","updated_at":"2016-05-23T00:35:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/theskumar/python-dotenv/pulls/25","html_url":"https://github.com/theskumar/python-dotenv/pull/25","diff_url":"https://github.com/theskumar/python-dotenv/pull/25.diff","patch_url":"https://github.com/theskumar/python-dotenv/pull/25.patch"},"body":"`__file__` is defined when the package is called from an IPython notebook. Adding a more reliable check for the caller being an ipython kernel."},"comment":{"url":"https://api.github.com/repos/theskumar/python-dotenv/issues/comments/220866425","html_url":"https://github.com/theskumar/python-dotenv/pull/25#issuecomment-220866425","issue_url":"https://api.github.com/repos/theskumar/python-dotenv/issues/25","id":220866425,"user":{"login":"pjbull","id":1799186,"avatar_url":"https://avatars.githubusercontent.com/u/1799186?v=3","gravatar_id":"","url":"https://api.github.com/users/pjbull","html_url":"https://github.com/pjbull","followers_url":"https://api.github.com/users/pjbull/followers","following_url":"https://api.github.com/users/pjbull/following{/other_user}","gists_url":"https://api.github.com/users/pjbull/gists{/gist_id}","starred_url":"https://api.github.com/users/pjbull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjbull/subscriptions","organizations_url":"https://api.github.com/users/pjbull/orgs","repos_url":"https://api.github.com/users/pjbull/repos","events_url":"https://api.github.com/users/pjbull/events{/privacy}","received_events_url":"https://api.github.com/users/pjbull/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T00:35:41Z","updated_at":"2016-05-23T00:35:41Z","body":"`usecwd=True` works from the notebook. I'll poke around and see if there is a more reliable clue that we're coming from ipython (agreed the filename is hacky). Will update with what I find."}}
{"actor":{"display_login":"pjbull"}}