{"action":"opened","number":16,"pull_request":{"url":"https://api.github.com/repos/GordonsBeard/cafe-flask/pulls/16","id":30938068,"html_url":"https://github.com/GordonsBeard/cafe-flask/pull/16","diff_url":"https://github.com/GordonsBeard/cafe-flask/pull/16.diff","patch_url":"https://github.com/GordonsBeard/cafe-flask/pull/16.patch","issue_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/issues/16","number":16,"state":"open","locked":false,"title":"Fixed KeyError if server is down","user":{"login":"Lancey6","id":10087863,"avatar_url":"https://avatars.githubusercontent.com/u/10087863?v=3","gravatar_id":"","url":"https://api.github.com/users/Lancey6","html_url":"https://github.com/Lancey6","followers_url":"https://api.github.com/users/Lancey6/followers","following_url":"https://api.github.com/users/Lancey6/following{/other_user}","gists_url":"https://api.github.com/users/Lancey6/gists{/gist_id}","starred_url":"https://api.github.com/users/Lancey6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lancey6/subscriptions","organizations_url":"https://api.github.com/users/Lancey6/orgs","repos_url":"https://api.github.com/users/Lancey6/repos","events_url":"https://api.github.com/users/Lancey6/events{/privacy}","received_events_url":"https://api.github.com/users/Lancey6/received_events","type":"User","site_admin":false},"body":"closes #15\r\n\r\nAdded an error check to get_map_images that confirms that a server dict\r\nhas a map key. This prevents a 500 Internal Error that would occur if a\r\nserver is down or nonresponsive.\r\n\r\nI've also adjusted an if tag in index.html to skip a server box if the\r\nserver dict has an error rather than showing \"server is down!\" in a\r\npoorly formatted box","created_at":"2015-03-11T12:25:04Z","updated_at":"2015-03-11T12:25:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/pulls/16/commits","review_comments_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/pulls/16/comments","review_comment_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/issues/16/comments","statuses_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/statuses/2bba39872f11a2f6b5ad5140399c1eedf2d796cc","head":{"label":"GordonsBeard:master","ref":"master","sha":"2bba39872f11a2f6b5ad5140399c1eedf2d796cc","user":{"login":"GordonsBeard","id":4015791,"avatar_url":"https://avatars.githubusercontent.com/u/4015791?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonsBeard","html_url":"https://github.com/GordonsBeard","followers_url":"https://api.github.com/users/GordonsBeard/followers","following_url":"https://api.github.com/users/GordonsBeard/following{/other_user}","gists_url":"https://api.github.com/users/GordonsBeard/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonsBeard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonsBeard/subscriptions","organizations_url":"https://api.github.com/users/GordonsBeard/orgs","repos_url":"https://api.github.com/users/GordonsBeard/repos","events_url":"https://api.github.com/users/GordonsBeard/events{/privacy}","received_events_url":"https://api.github.com/users/GordonsBeard/received_events","type":"User","site_admin":false},"repo":{"id":18658978,"name":"cafe-flask","full_name":"GordonsBeard/cafe-flask","owner":{"login":"GordonsBeard","id":4015791,"avatar_url":"https://avatars.githubusercontent.com/u/4015791?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonsBeard","html_url":"https://github.com/GordonsBeard","followers_url":"https://api.github.com/users/GordonsBeard/followers","following_url":"https://api.github.com/users/GordonsBeard/following{/other_user}","gists_url":"https://api.github.com/users/GordonsBeard/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonsBeard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonsBeard/subscriptions","organizations_url":"https://api.github.com/users/GordonsBeard/orgs","repos_url":"https://api.github.com/users/GordonsBeard/repos","events_url":"https://api.github.com/users/GordonsBeard/events{/privacy}","received_events_url":"https://api.github.com/users/GordonsBeard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GordonsBeard/cafe-flask","description":"Cafe of Broken Dreams website on flask","fork":false,"url":"https://api.github.com/repos/GordonsBeard/cafe-flask","forks_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/forks","keys_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/teams","hooks_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/hooks","issue_events_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/issues/events{/number}","events_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/events","assignees_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/assignees{/user}","branches_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/branches{/branch}","tags_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/tags","blobs_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/git/refs{/sha}","trees_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/statuses/{sha}","languages_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/languages","stargazers_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/stargazers","contributors_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/contributors","subscribers_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/subscribers","subscription_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/subscription","commits_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/commits{/sha}","git_commits_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/git/commits{/sha}","comments_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/comments{/number}","issue_comment_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/issues/comments{/number}","contents_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/contents/{+path}","compare_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/merges","archive_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/downloads","issues_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/issues{/number}","pulls_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/pulls{/number}","milestones_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/milestones{/number}","notifications_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/labels{/name}","releases_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/releases{/id}","created_at":"2014-04-11T02:00:20Z","updated_at":"2015-03-11T12:23:14Z","pushed_at":"2015-03-11T12:25:04Z","git_url":"git://github.com/GordonsBeard/cafe-flask.git","ssh_url":"git@github.com:GordonsBeard/cafe-flask.git","clone_url":"https://github.com/GordonsBeard/cafe-flask.git","svn_url":"https://github.com/GordonsBeard/cafe-flask","homepage":"http://cafeofbrokendreams.com","size":1028,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"GordonsBeard:map-uploader","ref":"map-uploader","sha":"eed64bd20a28e5e59b411c645240876782a5ef18","user":{"login":"GordonsBeard","id":4015791,"avatar_url":"https://avatars.githubusercontent.com/u/4015791?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonsBeard","html_url":"https://github.com/GordonsBeard","followers_url":"https://api.github.com/users/GordonsBeard/followers","following_url":"https://api.github.com/users/GordonsBeard/following{/other_user}","gists_url":"https://api.github.com/users/GordonsBeard/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonsBeard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonsBeard/subscriptions","organizations_url":"https://api.github.com/users/GordonsBeard/orgs","repos_url":"https://api.github.com/users/GordonsBeard/repos","events_url":"https://api.github.com/users/GordonsBeard/events{/privacy}","received_events_url":"https://api.github.com/users/GordonsBeard/received_events","type":"User","site_admin":false},"repo":{"id":18658978,"name":"cafe-flask","full_name":"GordonsBeard/cafe-flask","owner":{"login":"GordonsBeard","id":4015791,"avatar_url":"https://avatars.githubusercontent.com/u/4015791?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonsBeard","html_url":"https://github.com/GordonsBeard","followers_url":"https://api.github.com/users/GordonsBeard/followers","following_url":"https://api.github.com/users/GordonsBeard/following{/other_user}","gists_url":"https://api.github.com/users/GordonsBeard/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonsBeard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonsBeard/subscriptions","organizations_url":"https://api.github.com/users/GordonsBeard/orgs","repos_url":"https://api.github.com/users/GordonsBeard/repos","events_url":"https://api.github.com/users/GordonsBeard/events{/privacy}","received_events_url":"https://api.github.com/users/GordonsBeard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GordonsBeard/cafe-flask","description":"Cafe of Broken Dreams website on flask","fork":false,"url":"https://api.github.com/repos/GordonsBeard/cafe-flask","forks_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/forks","keys_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/teams","hooks_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/hooks","issue_events_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/issues/events{/number}","events_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/events","assignees_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/assignees{/user}","branches_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/branches{/branch}","tags_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/tags","blobs_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/git/refs{/sha}","trees_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/statuses/{sha}","languages_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/languages","stargazers_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/stargazers","contributors_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/contributors","subscribers_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/subscribers","subscription_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/subscription","commits_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/commits{/sha}","git_commits_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/git/commits{/sha}","comments_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/comments{/number}","issue_comment_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/issues/comments{/number}","contents_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/contents/{+path}","compare_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/merges","archive_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/downloads","issues_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/issues{/number}","pulls_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/pulls{/number}","milestones_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/milestones{/number}","notifications_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/labels{/name}","releases_url":"https://api.github.com/repos/GordonsBeard/cafe-flask/releases{/id}","created_at":"2014-04-11T02:00:20Z","updated_at":"2015-03-11T12:23:14Z","pushed_at":"2015-03-11T12:25:04Z","git_url":"git://github.com/GordonsBeard/cafe-flask.git","ssh_url":"git@github.com:GordonsBeard/cafe-flask.git","clone_url":"https://github.com/GordonsBeard/cafe-flask.git","svn_url":"https://github.com/GordonsBeard/cafe-flask","homepage":"http://cafeofbrokendreams.com","size":1028,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GordonsBeard/cafe-flask/pulls/16"},"html":{"href":"https://github.com/GordonsBeard/cafe-flask/pull/16"},"issue":{"href":"https://api.github.com/repos/GordonsBeard/cafe-flask/issues/16"},"comments":{"href":"https://api.github.com/repos/GordonsBeard/cafe-flask/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/GordonsBeard/cafe-flask/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/GordonsBeard/cafe-flask/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GordonsBeard/cafe-flask/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/GordonsBeard/cafe-flask/statuses/2bba39872f11a2f6b5ad5140399c1eedf2d796cc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":3,"changed_files":2}}