{"action":"created","issue":{"url":"https://api.github.com/repos/vinay20045/json-to-csv/issues/9","repository_url":"https://api.github.com/repos/vinay20045/json-to-csv","labels_url":"https://api.github.com/repos/vinay20045/json-to-csv/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/vinay20045/json-to-csv/issues/9/comments","events_url":"https://api.github.com/repos/vinay20045/json-to-csv/issues/9/events","html_url":"https://github.com/vinay20045/json-to-csv/issues/9","id":264373930,"number":9,"title":"Invalid syntax when executing script","user":{"login":"steveermish","id":22263812,"avatar_url":"https://avatars0.githubusercontent.com/u/22263812?v=4","gravatar_id":"","url":"https://api.github.com/users/steveermish","html_url":"https://github.com/steveermish","followers_url":"https://api.github.com/users/steveermish/followers","following_url":"https://api.github.com/users/steveermish/following{/other_user}","gists_url":"https://api.github.com/users/steveermish/gists{/gist_id}","starred_url":"https://api.github.com/users/steveermish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveermish/subscriptions","organizations_url":"https://api.github.com/users/steveermish/orgs","repos_url":"https://api.github.com/users/steveermish/repos","events_url":"https://api.github.com/users/steveermish/events{/privacy}","received_events_url":"https://api.github.com/users/steveermish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-10T20:58:45Z","updated_at":"2017-10-11T12:37:33Z","closed_at":null,"author_association":"NONE","body":"When executing the script with or without arguments, using Python 2.7 or 3.6.3 on a Mac:\r\nFile \"jsoncsv.py\", line 51\r\n    elif type(value) is dict:\r\n       ^\r\nSyntaxError: invalid syntax"},"comment":{"url":"https://api.github.com/repos/vinay20045/json-to-csv/issues/comments/335795470","html_url":"https://github.com/vinay20045/json-to-csv/issues/9#issuecomment-335795470","issue_url":"https://api.github.com/repos/vinay20045/json-to-csv/issues/9","id":335795470,"user":{"login":"steveermish","id":22263812,"avatar_url":"https://avatars0.githubusercontent.com/u/22263812?v=4","gravatar_id":"","url":"https://api.github.com/users/steveermish","html_url":"https://github.com/steveermish","followers_url":"https://api.github.com/users/steveermish/followers","following_url":"https://api.github.com/users/steveermish/following{/other_user}","gists_url":"https://api.github.com/users/steveermish/gists{/gist_id}","starred_url":"https://api.github.com/users/steveermish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveermish/subscriptions","organizations_url":"https://api.github.com/users/steveermish/orgs","repos_url":"https://api.github.com/users/steveermish/repos","events_url":"https://api.github.com/users/steveermish/events{/privacy}","received_events_url":"https://api.github.com/users/steveermish/received_events","type":"User","site_admin":false},"created_at":"2017-10-11T12:37:33Z","updated_at":"2017-10-11T12:37:33Z","author_association":"NONE","body":"I haven't modified anything, just copy past to json_to_csv.py.  Below are command examples.  I am running this on Mac in Bash, not sure if that's an issue.\r\n\r\n$ python json_to_csv.py\r\n  File \"json_to_csv.py\", line 51\r\n    elif type(value) is dict:\r\n       ^\r\nSyntaxError: invalid syntax\r\n\r\n$ python json_to_csv.py records response.json response.csv\r\n  File \"json_to_csv.py\", line 51\r\n    elif type(value) is dict:\r\n       ^\r\nSyntaxError: invalid syntax"}}
{"actor":{"display_login":"steveermish"}}