{"action":"created","comment":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/comments/73334865","id":73334865,"diff_hunk":"@@ -21,10 +22,16 @@\n \n \n class PokemonGoBot(object):\n+    _script_dir = os.path.dirname(os.path.realpath(__file__))\n+    _root_dir = os.path.dirname(_script_dir)\n+    _release_conf_dir = os.path.join(_root_dir, 'release_config.json')","path":"pokemongo_bot/__init__.py","position":13,"original_position":13,"commit_id":"d56bb325998aec13e4de6b1d80a9338a27b076b8","original_commit_id":"d56bb325998aec13e4de6b1d80a9338a27b076b8","user":{"login":"mmnsgo","id":20799746,"avatar_url":"https://avatars.githubusercontent.com/u/20799746?v=3","gravatar_id":"","url":"https://api.github.com/users/mmnsgo","html_url":"https://github.com/mmnsgo","followers_url":"https://api.github.com/users/mmnsgo/followers","following_url":"https://api.github.com/users/mmnsgo/following{/other_user}","gists_url":"https://api.github.com/users/mmnsgo/gists{/gist_id}","starred_url":"https://api.github.com/users/mmnsgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmnsgo/subscriptions","organizations_url":"https://api.github.com/users/mmnsgo/orgs","repos_url":"https://api.github.com/users/mmnsgo/repos","events_url":"https://api.github.com/users/mmnsgo/events{/privacy}","received_events_url":"https://api.github.com/users/mmnsgo/received_events","type":"User","site_admin":false},"body":"not used anymore","created_at":"2016-08-03T13:09:27Z","updated_at":"2016-08-03T13:09:27Z","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/2471#discussion_r73334865","pull_request_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/2471","_links":{"self":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/comments/73334865"},"html":{"href":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/2471#discussion_r73334865"},"pull_request":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/2471"}}},"pull_request":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/2471","id":79899035,"html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/2471","diff_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/2471.diff","patch_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/2471.patch","issue_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2471","number":2471,"state":"open","locked":false,"title":"made file paths absolute","user":{"login":"megamorphf","id":13219260,"avatar_url":"https://avatars.githubusercontent.com/u/13219260?v=3","gravatar_id":"","url":"https://api.github.com/users/megamorphf","html_url":"https://github.com/megamorphf","followers_url":"https://api.github.com/users/megamorphf/followers","following_url":"https://api.github.com/users/megamorphf/following{/other_user}","gists_url":"https://api.github.com/users/megamorphf/gists{/gist_id}","starred_url":"https://api.github.com/users/megamorphf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megamorphf/subscriptions","organizations_url":"https://api.github.com/users/megamorphf/orgs","repos_url":"https://api.github.com/users/megamorphf/repos","events_url":"https://api.github.com/users/megamorphf/events{/privacy}","received_events_url":"https://api.github.com/users/megamorphf/received_events","type":"User","site_admin":false},"body":"Short Description: \r\nThis fix will enable users to  call script anywhere from their home directory. Also this change will let you to run this script as a daemon on linux machine.  ! You will probably get an **IOError** on linux, therefore you need to change project folder permissions\r\n\r\n> chmod -R 777 project_folder\r\n\r\n\r\n\r\nFixes:\r\n- Made file paths absolute and relative to  the project folder at pokemon_bot/__init__.py file\r\n- Made file paths absolute relative to pokecli.py\r\n\r\n\r\n\r\n","created_at":"2016-08-03T12:42:16Z","updated_at":"2016-08-03T13:09:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c99243cd83afae18f21b9539262670165df8a4d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/2471/commits","review_comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/2471/comments","review_comment_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2471/comments","statuses_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/statuses/d56bb325998aec13e4de6b1d80a9338a27b076b8","head":{"label":"megamorphf:master","ref":"master","sha":"d56bb325998aec13e4de6b1d80a9338a27b076b8","user":{"login":"megamorphf","id":13219260,"avatar_url":"https://avatars.githubusercontent.com/u/13219260?v=3","gravatar_id":"","url":"https://api.github.com/users/megamorphf","html_url":"https://github.com/megamorphf","followers_url":"https://api.github.com/users/megamorphf/followers","following_url":"https://api.github.com/users/megamorphf/following{/other_user}","gists_url":"https://api.github.com/users/megamorphf/gists{/gist_id}","starred_url":"https://api.github.com/users/megamorphf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megamorphf/subscriptions","organizations_url":"https://api.github.com/users/megamorphf/orgs","repos_url":"https://api.github.com/users/megamorphf/repos","events_url":"https://api.github.com/users/megamorphf/events{/privacy}","received_events_url":"https://api.github.com/users/megamorphf/received_events","type":"User","site_admin":false},"repo":{"id":64843410,"name":"PokemonGo-Bot","full_name":"megamorphf/PokemonGo-Bot","owner":{"login":"megamorphf","id":13219260,"avatar_url":"https://avatars.githubusercontent.com/u/13219260?v=3","gravatar_id":"","url":"https://api.github.com/users/megamorphf","html_url":"https://github.com/megamorphf","followers_url":"https://api.github.com/users/megamorphf/followers","following_url":"https://api.github.com/users/megamorphf/following{/other_user}","gists_url":"https://api.github.com/users/megamorphf/gists{/gist_id}","starred_url":"https://api.github.com/users/megamorphf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megamorphf/subscriptions","organizations_url":"https://api.github.com/users/megamorphf/orgs","repos_url":"https://api.github.com/users/megamorphf/repos","events_url":"https://api.github.com/users/megamorphf/events{/privacy}","received_events_url":"https://api.github.com/users/megamorphf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/megamorphf/PokemonGo-Bot","description":"The Pokemon Go Bot, baking with community.","fork":true,"url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot","forks_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/forks","keys_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/teams","hooks_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/hooks","issue_events_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/issues/events{/number}","events_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/events","assignees_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/assignees{/user}","branches_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/branches{/branch}","tags_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/tags","blobs_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/statuses/{sha}","languages_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/languages","stargazers_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/stargazers","contributors_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/contributors","subscribers_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/subscribers","subscription_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/subscription","commits_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/contents/{+path}","compare_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/merges","archive_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/downloads","issues_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/issues{/number}","pulls_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/pulls{/number}","milestones_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/milestones{/number}","notifications_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/labels{/name}","releases_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/releases{/id}","deployments_url":"https://api.github.com/repos/megamorphf/PokemonGo-Bot/deployments","created_at":"2016-08-03T12:12:03Z","updated_at":"2016-08-03T12:12:06Z","pushed_at":"2016-08-03T12:36:10Z","git_url":"git://github.com/megamorphf/PokemonGo-Bot.git","ssh_url":"git@github.com:megamorphf/PokemonGo-Bot.git","clone_url":"https://github.com/megamorphf/PokemonGo-Bot.git","svn_url":"https://github.com/megamorphf/PokemonGo-Bot","homepage":"","size":8957,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PokemonGoF:master","ref":"master","sha":"4182e93f9bfbe471d07b74e95c55cdfbacda127b","user":{"login":"PokemonGoF","id":20551204,"avatar_url":"https://avatars.githubusercontent.com/u/20551204?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoF","html_url":"https://github.com/PokemonGoF","followers_url":"https://api.github.com/users/PokemonGoF/followers","following_url":"https://api.github.com/users/PokemonGoF/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoF/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoF/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoF/orgs","repos_url":"https://api.github.com/users/PokemonGoF/repos","events_url":"https://api.github.com/users/PokemonGoF/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoF/received_events","type":"Organization","site_admin":false},"repo":{"id":63752974,"name":"PokemonGo-Bot","full_name":"PokemonGoF/PokemonGo-Bot","owner":{"login":"PokemonGoF","id":20551204,"avatar_url":"https://avatars.githubusercontent.com/u/20551204?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoF","html_url":"https://github.com/PokemonGoF","followers_url":"https://api.github.com/users/PokemonGoF/followers","following_url":"https://api.github.com/users/PokemonGoF/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoF/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoF/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoF/orgs","repos_url":"https://api.github.com/users/PokemonGoF/repos","events_url":"https://api.github.com/users/PokemonGoF/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoF/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PokemonGoF/PokemonGo-Bot","description":"The Pokemon Go Bot, baking with community.","fork":false,"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","forks_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/forks","keys_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/teams","hooks_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/hooks","issue_events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/events{/number}","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/events","assignees_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/assignees{/user}","branches_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/branches{/branch}","tags_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/tags","blobs_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/statuses/{sha}","languages_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/languages","stargazers_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/stargazers","contributors_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/contributors","subscribers_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/subscribers","subscription_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/subscription","commits_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/contents/{+path}","compare_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/merges","archive_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/downloads","issues_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues{/number}","pulls_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls{/number}","milestones_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/milestones{/number}","notifications_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/labels{/name}","releases_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/releases{/id}","deployments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/deployments","created_at":"2016-07-20T05:31:53Z","updated_at":"2016-08-03T13:09:27Z","pushed_at":"2016-08-03T12:42:17Z","git_url":"git://github.com/PokemonGoF/PokemonGo-Bot.git","ssh_url":"git@github.com:PokemonGoF/PokemonGo-Bot.git","clone_url":"https://github.com/PokemonGoF/PokemonGo-Bot.git","svn_url":"https://github.com/PokemonGoF/PokemonGo-Bot","homepage":"","size":8957,"stargazers_count":2141,"watchers_count":2141,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":912,"mirror_url":null,"open_issues_count":500,"forks":912,"open_issues":500,"watchers":2141,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/2471"},"html":{"href":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/2471"},"issue":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2471"},"comments":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2471/comments"},"review_comments":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/2471/comments"},"review_comment":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/2471/commits"},"statuses":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/statuses/d56bb325998aec13e4de6b1d80a9338a27b076b8"}}}}
{"actor":{"display_login":"mmnsgo"}}