{"action":"created","issue":{"url":"https://api.github.com/repos/AnirbanBanik1998/Modern_Speak_and_Spell/issues/3","repository_url":"https://api.github.com/repos/AnirbanBanik1998/Modern_Speak_and_Spell","labels_url":"https://api.github.com/repos/AnirbanBanik1998/Modern_Speak_and_Spell/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/AnirbanBanik1998/Modern_Speak_and_Spell/issues/3/comments","events_url":"https://api.github.com/repos/AnirbanBanik1998/Modern_Speak_and_Spell/issues/3/events","html_url":"https://github.com/AnirbanBanik1998/Modern_Speak_and_Spell/issues/3","id":345655575,"node_id":"MDU6SXNzdWUzNDU2NTU1NzU=","number":3,"title":"Confusion in the `Recorder` class","user":{"login":"ZeekHuge","id":8711218,"node_id":"MDQ6VXNlcjg3MTEyMTg=","avatar_url":"https://avatars3.githubusercontent.com/u/8711218?v=4","gravatar_id":"","url":"https://api.github.com/users/ZeekHuge","html_url":"https://github.com/ZeekHuge","followers_url":"https://api.github.com/users/ZeekHuge/followers","following_url":"https://api.github.com/users/ZeekHuge/following{/other_user}","gists_url":"https://api.github.com/users/ZeekHuge/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeekHuge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeekHuge/subscriptions","organizations_url":"https://api.github.com/users/ZeekHuge/orgs","repos_url":"https://api.github.com/users/ZeekHuge/repos","events_url":"https://api.github.com/users/ZeekHuge/events{/privacy}","received_events_url":"https://api.github.com/users/ZeekHuge/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-30T08:15:54Z","updated_at":"2018-08-09T02:36:15Z","closed_at":"2018-08-09T02:36:15Z","author_association":"NONE","body":"The [`Recorder`](https://github.com/AnirbanBanik1998/Modern_Speak_and_Spell/blob/master/API/recorder.py#L12) class in the API has 2 different `self.start` being used.\r\n\r\nThe [1st one is a method](https://github.com/AnirbanBanik1998/Modern_Speak_and_Spell/blob/master/API/recorder.py#L61) while the [other one is a variable](https://github.com/AnirbanBanik1998/Modern_Speak_and_Spell/blob/master/API/recorder.py#L89). \r\n\r\nThis will basically result in hiding one of them by other, based on which statement gets executed later.\r\nAlso, this creates confusion while understanding what you really are trying to do there. Also, is the [`self.start` variable](https://github.com/AnirbanBanik1998/Modern_Speak_and_Spell/blob/master/API/recorder.py#L89) really needed to be in the `self` object ? ? Looks like its local to the [`record()`](https://github.com/AnirbanBanik1998/Modern_Speak_and_Spell/blob/master/API/recorder.py#L81) hence, you might just be able to use a local variable.\r\nBut, cant be sure as the code is a bit confusing as of now.\r\n"},"comment":{"url":"https://api.github.com/repos/AnirbanBanik1998/Modern_Speak_and_Spell/issues/comments/411617740","html_url":"https://github.com/AnirbanBanik1998/Modern_Speak_and_Spell/issues/3#issuecomment-411617740","issue_url":"https://api.github.com/repos/AnirbanBanik1998/Modern_Speak_and_Spell/issues/3","id":411617740,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTYxNzc0MA==","user":{"login":"AnirbanBanik1998","id":25951154,"node_id":"MDQ6VXNlcjI1OTUxMTU0","avatar_url":"https://avatars1.githubusercontent.com/u/25951154?v=4","gravatar_id":"","url":"https://api.github.com/users/AnirbanBanik1998","html_url":"https://github.com/AnirbanBanik1998","followers_url":"https://api.github.com/users/AnirbanBanik1998/followers","following_url":"https://api.github.com/users/AnirbanBanik1998/following{/other_user}","gists_url":"https://api.github.com/users/AnirbanBanik1998/gists{/gist_id}","starred_url":"https://api.github.com/users/AnirbanBanik1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnirbanBanik1998/subscriptions","organizations_url":"https://api.github.com/users/AnirbanBanik1998/orgs","repos_url":"https://api.github.com/users/AnirbanBanik1998/repos","events_url":"https://api.github.com/users/AnirbanBanik1998/events{/privacy}","received_events_url":"https://api.github.com/users/AnirbanBanik1998/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T02:36:15Z","updated_at":"2018-08-09T02:36:15Z","author_association":"OWNER","body":"I guess this issue is also resolved...so closing it."}}
{"actor":{"display_login":"AnirbanBanik1998"}}