{"action":"closed","number":514,"pull_request":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/514","id":81014670,"html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/514","diff_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/514.diff","patch_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/514.patch","issue_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/514","number":514,"state":"closed","locked":false,"title":"fix undefined variable usage","user":{"login":"mattoufoutu","id":393165,"avatar_url":"https://avatars.githubusercontent.com/u/393165?v=3","gravatar_id":"","url":"https://api.github.com/users/mattoufoutu","html_url":"https://github.com/mattoufoutu","followers_url":"https://api.github.com/users/mattoufoutu/followers","following_url":"https://api.github.com/users/mattoufoutu/following{/other_user}","gists_url":"https://api.github.com/users/mattoufoutu/gists{/gist_id}","starred_url":"https://api.github.com/users/mattoufoutu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattoufoutu/subscriptions","organizations_url":"https://api.github.com/users/mattoufoutu/orgs","repos_url":"https://api.github.com/users/mattoufoutu/repos","events_url":"https://api.github.com/users/mattoufoutu/events{/privacy}","received_events_url":"https://api.github.com/users/mattoufoutu/received_events","type":"User","site_admin":false},"body":"## Description\r\nAn error was introduced by 83fab06f4fea54a58d0b0cebb95bed24551037c7 where a variable is defined in the `else` part of an `if` block, but not in the first one, resulting in the variable being used before it is defined. \r\n\r\n## Motivation and Context\r\nThis change is required because it fixes a bug introduced by a recent commit.\r\n\r\n## How Has This Been Tested?\r\nAfter fixing and running the map for about 30min, I don't notice the error anymore and don't notice any error that could have been introduced by this change.\r\n\r\n## Types of changes\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n\r\n","created_at":"2016-08-11T19:19:34Z","updated_at":"2016-08-15T21:15:59Z","closed_at":"2016-08-15T21:15:59Z","merged_at":null,"merge_commit_sha":"f6b50253829641abf11fcf36a0ce5737ed1255ef","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/514/commits","review_comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/514/comments","review_comment_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/514/comments","statuses_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/statuses/cc6b052f30172fd9c694196b3db7eeb7dcbc9eda","head":{"label":"mattoufoutu:develop","ref":"develop","sha":"cc6b052f30172fd9c694196b3db7eeb7dcbc9eda","user":{"login":"mattoufoutu","id":393165,"avatar_url":"https://avatars.githubusercontent.com/u/393165?v=3","gravatar_id":"","url":"https://api.github.com/users/mattoufoutu","html_url":"https://github.com/mattoufoutu","followers_url":"https://api.github.com/users/mattoufoutu/followers","following_url":"https://api.github.com/users/mattoufoutu/following{/other_user}","gists_url":"https://api.github.com/users/mattoufoutu/gists{/gist_id}","starred_url":"https://api.github.com/users/mattoufoutu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattoufoutu/subscriptions","organizations_url":"https://api.github.com/users/mattoufoutu/orgs","repos_url":"https://api.github.com/users/mattoufoutu/repos","events_url":"https://api.github.com/users/mattoufoutu/events{/privacy}","received_events_url":"https://api.github.com/users/mattoufoutu/received_events","type":"User","site_admin":false},"repo":{"id":65494657,"name":"PokemonGo-Map","full_name":"mattoufoutu/PokemonGo-Map","owner":{"login":"mattoufoutu","id":393165,"avatar_url":"https://avatars.githubusercontent.com/u/393165?v=3","gravatar_id":"","url":"https://api.github.com/users/mattoufoutu","html_url":"https://github.com/mattoufoutu","followers_url":"https://api.github.com/users/mattoufoutu/followers","following_url":"https://api.github.com/users/mattoufoutu/following{/other_user}","gists_url":"https://api.github.com/users/mattoufoutu/gists{/gist_id}","starred_url":"https://api.github.com/users/mattoufoutu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattoufoutu/subscriptions","organizations_url":"https://api.github.com/users/mattoufoutu/orgs","repos_url":"https://api.github.com/users/mattoufoutu/repos","events_url":"https://api.github.com/users/mattoufoutu/events{/privacy}","received_events_url":"https://api.github.com/users/mattoufoutu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mattoufoutu/PokemonGo-Map","description":"🌏 Live visualization of all the pokemon in your area... and more!","fork":true,"url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map","forks_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/forks","keys_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/teams","hooks_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/hooks","issue_events_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/issues/events{/number}","events_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/events","assignees_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/assignees{/user}","branches_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/branches{/branch}","tags_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/tags","blobs_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/statuses/{sha}","languages_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/languages","stargazers_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/stargazers","contributors_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/contributors","subscribers_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/subscribers","subscription_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/subscription","commits_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/contents/{+path}","compare_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/merges","archive_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/downloads","issues_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/issues{/number}","pulls_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/pulls{/number}","milestones_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/milestones{/number}","notifications_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/labels{/name}","releases_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/releases{/id}","deployments_url":"https://api.github.com/repos/mattoufoutu/PokemonGo-Map/deployments","created_at":"2016-08-11T19:07:11Z","updated_at":"2016-08-11T19:07:12Z","pushed_at":"2016-08-11T19:13:55Z","git_url":"git://github.com/mattoufoutu/PokemonGo-Map.git","ssh_url":"git@github.com:mattoufoutu/PokemonGo-Map.git","clone_url":"https://github.com/mattoufoutu/PokemonGo-Map.git","svn_url":"https://github.com/mattoufoutu/PokemonGo-Map","homepage":"","size":22008,"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":"develop"}},"base":{"label":"PokemonGoMap:develop","ref":"develop","sha":"83fab06f4fea54a58d0b0cebb95bed24551037c7","user":{"login":"PokemonGoMap","id":20848202,"avatar_url":"https://avatars.githubusercontent.com/u/20848202?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoMap","html_url":"https://github.com/PokemonGoMap","followers_url":"https://api.github.com/users/PokemonGoMap/followers","following_url":"https://api.github.com/users/PokemonGoMap/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoMap/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoMap/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoMap/orgs","repos_url":"https://api.github.com/users/PokemonGoMap/repos","events_url":"https://api.github.com/users/PokemonGoMap/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoMap/received_events","type":"Organization","site_admin":false},"repo":{"id":64970925,"name":"PokemonGo-Map","full_name":"PokemonGoMap/PokemonGo-Map","owner":{"login":"PokemonGoMap","id":20848202,"avatar_url":"https://avatars.githubusercontent.com/u/20848202?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoMap","html_url":"https://github.com/PokemonGoMap","followers_url":"https://api.github.com/users/PokemonGoMap/followers","following_url":"https://api.github.com/users/PokemonGoMap/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoMap/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoMap/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoMap/orgs","repos_url":"https://api.github.com/users/PokemonGoMap/repos","events_url":"https://api.github.com/users/PokemonGoMap/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoMap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PokemonGoMap/PokemonGo-Map","description":"🌏 Live visualization of all the pokemon in your area... and more!","fork":false,"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map","forks_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/forks","keys_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/teams","hooks_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/hooks","issue_events_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/events{/number}","events_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/events","assignees_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/assignees{/user}","branches_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/branches{/branch}","tags_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/tags","blobs_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/refs{/sha}","trees_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/statuses/{sha}","languages_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/languages","stargazers_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/stargazers","contributors_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/contributors","subscribers_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/subscribers","subscription_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/subscription","commits_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/commits{/sha}","git_commits_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/commits{/sha}","comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/comments{/number}","issue_comment_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/comments{/number}","contents_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/contents/{+path}","compare_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/merges","archive_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/downloads","issues_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues{/number}","pulls_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls{/number}","milestones_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/milestones{/number}","notifications_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/labels{/name}","releases_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/releases{/id}","deployments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/deployments","created_at":"2016-08-04T22:18:49Z","updated_at":"2016-08-15T21:08:40Z","pushed_at":"2016-08-15T20:52:44Z","git_url":"git://github.com/PokemonGoMap/PokemonGo-Map.git","ssh_url":"git@github.com:PokemonGoMap/PokemonGo-Map.git","clone_url":"https://github.com/PokemonGoMap/PokemonGo-Map.git","svn_url":"https://github.com/PokemonGoMap/PokemonGo-Map","homepage":"","size":27586,"stargazers_count":1676,"watchers_count":1676,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":814,"mirror_url":null,"open_issues_count":121,"forks":814,"open_issues":121,"watchers":1676,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/514"},"html":{"href":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/514"},"issue":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/514"},"comments":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/514/comments"},"review_comments":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/514/comments"},"review_comment":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/514/commits"},"statuses":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/statuses/cc6b052f30172fd9c694196b3db7eeb7dcbc9eda"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"Chlodochar"}}