{"action":"created","comment":{"url":"https://api.github.com/repos/defaultnamehere/tinder-detective/pulls/comments/72001185","id":72001185,"diff_hunk":"@@ -1,18 +1,46 @@\n-\n-\n-from flask import Flask, render_template\n+from flask import Flask, render_template, request\n \n import api\n \n app = Flask('tinder-detective')\n \n-stalker = api.NSASimulator()\n+stalker = \"\"\n \n @app.route('/')\n def index():\n-    profiles = stalker.get_profiles()\n-    return render_template(\"main.html\", profiles=profiles)\n \n+    global stalker","path":"app.py","position":18,"original_position":18,"commit_id":"a45314479556aed1de6f804b7256aa817ecb7e9b","original_commit_id":"3e7d6cca9c6c454dc2943bb69a92949bf47394fc","user":{"login":"defaultnamehere","id":2187165,"avatar_url":"https://avatars.githubusercontent.com/u/2187165?v=3","gravatar_id":"","url":"https://api.github.com/users/defaultnamehere","html_url":"https://github.com/defaultnamehere","followers_url":"https://api.github.com/users/defaultnamehere/followers","following_url":"https://api.github.com/users/defaultnamehere/following{/other_user}","gists_url":"https://api.github.com/users/defaultnamehere/gists{/gist_id}","starred_url":"https://api.github.com/users/defaultnamehere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defaultnamehere/subscriptions","organizations_url":"https://api.github.com/users/defaultnamehere/orgs","repos_url":"https://api.github.com/users/defaultnamehere/repos","events_url":"https://api.github.com/users/defaultnamehere/events{/privacy}","received_events_url":"https://api.github.com/users/defaultnamehere/received_events","type":"User","site_admin":false},"body":"I cannot, in good conscience, merge a PR that uses global in this way.","created_at":"2016-07-25T01:42:45Z","updated_at":"2016-07-25T01:42:45Z","html_url":"https://github.com/defaultnamehere/tinder-detective/pull/32#discussion_r72001185","pull_request_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/defaultnamehere/tinder-detective/pulls/comments/72001185"},"html":{"href":"https://github.com/defaultnamehere/tinder-detective/pull/32#discussion_r72001185"},"pull_request":{"href":"https://api.github.com/repos/defaultnamehere/tinder-detective/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/defaultnamehere/tinder-detective/pulls/32","id":78580490,"html_url":"https://github.com/defaultnamehere/tinder-detective/pull/32","diff_url":"https://github.com/defaultnamehere/tinder-detective/pull/32.diff","patch_url":"https://github.com/defaultnamehere/tinder-detective/pull/32.patch","issue_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/issues/32","number":32,"state":"open","locked":false,"title":"Presents error messages to the user without the use of werkzeug debug messages. In addition, users can create the SECRETS.json file via a web form provided if the file does not already exist.","user":{"login":"KillianDavitt","id":7542976,"avatar_url":"https://avatars.githubusercontent.com/u/7542976?v=3","gravatar_id":"","url":"https://api.github.com/users/KillianDavitt","html_url":"https://github.com/KillianDavitt","followers_url":"https://api.github.com/users/KillianDavitt/followers","following_url":"https://api.github.com/users/KillianDavitt/following{/other_user}","gists_url":"https://api.github.com/users/KillianDavitt/gists{/gist_id}","starred_url":"https://api.github.com/users/KillianDavitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KillianDavitt/subscriptions","organizations_url":"https://api.github.com/users/KillianDavitt/orgs","repos_url":"https://api.github.com/users/KillianDavitt/repos","events_url":"https://api.github.com/users/KillianDavitt/events{/privacy}","received_events_url":"https://api.github.com/users/KillianDavitt/received_events","type":"User","site_admin":false},"body":"# Creation of the secrets file\r\nOne additional endpoint '/create_secret' which the user can post to from a provided web form to create the SECRETS.json file. This is a more user friendly way of creating the file. \r\n\r\n\r\nA user is presented with the web form if the file does not already exist. \r\n\r\n# Templates\r\ntemplates are now separated with a base.html providing the styling and 2 separate other html files providing the content for the pages.\r\n\r\n# Error messages\r\nIf there is a problem with the users auth details and the api cannot login, then, the user is presented with a error message in a fashion that fits the style of the site and no longer via a werkzeug error message. Because of this, debug has been turned off as it is not neccesary if the user is not engaging in further development of the app.","created_at":"2016-07-23T19:31:38Z","updated_at":"2016-07-25T01:42:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d22278b8c5b7b0c6c7c6fd942fc7382dd35ceab0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/pulls/32/commits","review_comments_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/pulls/32/comments","review_comment_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/pulls/comments{/number}","comments_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/issues/32/comments","statuses_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/statuses/a45314479556aed1de6f804b7256aa817ecb7e9b","head":{"label":"KillianDavitt:master","ref":"master","sha":"a45314479556aed1de6f804b7256aa817ecb7e9b","user":{"login":"KillianDavitt","id":7542976,"avatar_url":"https://avatars.githubusercontent.com/u/7542976?v=3","gravatar_id":"","url":"https://api.github.com/users/KillianDavitt","html_url":"https://github.com/KillianDavitt","followers_url":"https://api.github.com/users/KillianDavitt/followers","following_url":"https://api.github.com/users/KillianDavitt/following{/other_user}","gists_url":"https://api.github.com/users/KillianDavitt/gists{/gist_id}","starred_url":"https://api.github.com/users/KillianDavitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KillianDavitt/subscriptions","organizations_url":"https://api.github.com/users/KillianDavitt/orgs","repos_url":"https://api.github.com/users/KillianDavitt/repos","events_url":"https://api.github.com/users/KillianDavitt/events{/privacy}","received_events_url":"https://api.github.com/users/KillianDavitt/received_events","type":"User","site_admin":false},"repo":{"id":64030616,"name":"tinder-detective","full_name":"KillianDavitt/tinder-detective","owner":{"login":"KillianDavitt","id":7542976,"avatar_url":"https://avatars.githubusercontent.com/u/7542976?v=3","gravatar_id":"","url":"https://api.github.com/users/KillianDavitt","html_url":"https://github.com/KillianDavitt","followers_url":"https://api.github.com/users/KillianDavitt/followers","following_url":"https://api.github.com/users/KillianDavitt/following{/other_user}","gists_url":"https://api.github.com/users/KillianDavitt/gists{/gist_id}","starred_url":"https://api.github.com/users/KillianDavitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KillianDavitt/subscriptions","organizations_url":"https://api.github.com/users/KillianDavitt/orgs","repos_url":"https://api.github.com/users/KillianDavitt/repos","events_url":"https://api.github.com/users/KillianDavitt/events{/privacy}","received_events_url":"https://api.github.com/users/KillianDavitt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KillianDavitt/tinder-detective","description":"Find your Facebook friends' Tinder profiles. Don't actually use this by the way that's weird. Not even in a good way.","fork":true,"url":"https://api.github.com/repos/KillianDavitt/tinder-detective","forks_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/forks","keys_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/teams","hooks_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/hooks","issue_events_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/issues/events{/number}","events_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/events","assignees_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/assignees{/user}","branches_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/branches{/branch}","tags_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/tags","blobs_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/git/refs{/sha}","trees_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/statuses/{sha}","languages_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/languages","stargazers_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/stargazers","contributors_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/contributors","subscribers_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/subscribers","subscription_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/subscription","commits_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/commits{/sha}","git_commits_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/git/commits{/sha}","comments_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/comments{/number}","issue_comment_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/issues/comments{/number}","contents_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/contents/{+path}","compare_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/merges","archive_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/downloads","issues_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/issues{/number}","pulls_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/pulls{/number}","milestones_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/milestones{/number}","notifications_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/labels{/name}","releases_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/releases{/id}","deployments_url":"https://api.github.com/repos/KillianDavitt/tinder-detective/deployments","created_at":"2016-07-23T18:48:08Z","updated_at":"2016-07-23T18:48:09Z","pushed_at":"2016-07-23T21:31:25Z","git_url":"git://github.com/KillianDavitt/tinder-detective.git","ssh_url":"git@github.com:KillianDavitt/tinder-detective.git","clone_url":"https://github.com/KillianDavitt/tinder-detective.git","svn_url":"https://github.com/KillianDavitt/tinder-detective","homepage":null,"size":19,"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":"defaultnamehere:master","ref":"master","sha":"0f1ea121ab014559215ea9f639b07705a04af72c","user":{"login":"defaultnamehere","id":2187165,"avatar_url":"https://avatars.githubusercontent.com/u/2187165?v=3","gravatar_id":"","url":"https://api.github.com/users/defaultnamehere","html_url":"https://github.com/defaultnamehere","followers_url":"https://api.github.com/users/defaultnamehere/followers","following_url":"https://api.github.com/users/defaultnamehere/following{/other_user}","gists_url":"https://api.github.com/users/defaultnamehere/gists{/gist_id}","starred_url":"https://api.github.com/users/defaultnamehere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defaultnamehere/subscriptions","organizations_url":"https://api.github.com/users/defaultnamehere/orgs","repos_url":"https://api.github.com/users/defaultnamehere/repos","events_url":"https://api.github.com/users/defaultnamehere/events{/privacy}","received_events_url":"https://api.github.com/users/defaultnamehere/received_events","type":"User","site_admin":false},"repo":{"id":63254335,"name":"tinder-detective","full_name":"defaultnamehere/tinder-detective","owner":{"login":"defaultnamehere","id":2187165,"avatar_url":"https://avatars.githubusercontent.com/u/2187165?v=3","gravatar_id":"","url":"https://api.github.com/users/defaultnamehere","html_url":"https://github.com/defaultnamehere","followers_url":"https://api.github.com/users/defaultnamehere/followers","following_url":"https://api.github.com/users/defaultnamehere/following{/other_user}","gists_url":"https://api.github.com/users/defaultnamehere/gists{/gist_id}","starred_url":"https://api.github.com/users/defaultnamehere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defaultnamehere/subscriptions","organizations_url":"https://api.github.com/users/defaultnamehere/orgs","repos_url":"https://api.github.com/users/defaultnamehere/repos","events_url":"https://api.github.com/users/defaultnamehere/events{/privacy}","received_events_url":"https://api.github.com/users/defaultnamehere/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/defaultnamehere/tinder-detective","description":"Find your Facebook friends' Tinder profiles. Don't actually use this by the way that's weird. Not even in a good way.","fork":false,"url":"https://api.github.com/repos/defaultnamehere/tinder-detective","forks_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/forks","keys_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/keys{/key_id}","collaborators_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/teams","hooks_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/hooks","issue_events_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/issues/events{/number}","events_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/events","assignees_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/assignees{/user}","branches_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/branches{/branch}","tags_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/tags","blobs_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/git/refs{/sha}","trees_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/git/trees{/sha}","statuses_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/statuses/{sha}","languages_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/languages","stargazers_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/stargazers","contributors_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/contributors","subscribers_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/subscribers","subscription_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/subscription","commits_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/commits{/sha}","git_commits_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/git/commits{/sha}","comments_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/comments{/number}","issue_comment_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/issues/comments{/number}","contents_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/contents/{+path}","compare_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/compare/{base}...{head}","merges_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/merges","archive_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/downloads","issues_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/issues{/number}","pulls_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/pulls{/number}","milestones_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/milestones{/number}","notifications_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/labels{/name}","releases_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/releases{/id}","deployments_url":"https://api.github.com/repos/defaultnamehere/tinder-detective/deployments","created_at":"2016-07-13T14:44:35Z","updated_at":"2016-07-24T22:31:50Z","pushed_at":"2016-07-23T21:31:26Z","git_url":"git://github.com/defaultnamehere/tinder-detective.git","ssh_url":"git@github.com:defaultnamehere/tinder-detective.git","clone_url":"https://github.com/defaultnamehere/tinder-detective.git","svn_url":"https://github.com/defaultnamehere/tinder-detective","homepage":null,"size":59,"stargazers_count":450,"watchers_count":450,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":19,"forks":35,"open_issues":19,"watchers":450,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/defaultnamehere/tinder-detective/pulls/32"},"html":{"href":"https://github.com/defaultnamehere/tinder-detective/pull/32"},"issue":{"href":"https://api.github.com/repos/defaultnamehere/tinder-detective/issues/32"},"comments":{"href":"https://api.github.com/repos/defaultnamehere/tinder-detective/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/defaultnamehere/tinder-detective/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/defaultnamehere/tinder-detective/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/defaultnamehere/tinder-detective/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/defaultnamehere/tinder-detective/statuses/a45314479556aed1de6f804b7256aa817ecb7e9b"}}}}
{"actor":{"display_login":"defaultnamehere"}}