{"action":"created","issue":{"url":"https://api.github.com/repos/Pipoupi/thankfulbot/issues/2","repository_url":"https://api.github.com/repos/Pipoupi/thankfulbot","labels_url":"https://api.github.com/repos/Pipoupi/thankfulbot/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Pipoupi/thankfulbot/issues/2/comments","events_url":"https://api.github.com/repos/Pipoupi/thankfulbot/issues/2/events","html_url":"https://github.com/Pipoupi/thankfulbot/pull/2","id":171962573,"number":2,"title":"Fix loading from file","user":{"login":"brunal","id":921168,"avatar_url":"https://avatars.githubusercontent.com/u/921168?v=3","gravatar_id":"","url":"https://api.github.com/users/brunal","html_url":"https://github.com/brunal","followers_url":"https://api.github.com/users/brunal/followers","following_url":"https://api.github.com/users/brunal/following{/other_user}","gists_url":"https://api.github.com/users/brunal/gists{/gist_id}","starred_url":"https://api.github.com/users/brunal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunal/subscriptions","organizations_url":"https://api.github.com/users/brunal/orgs","repos_url":"https://api.github.com/users/brunal/repos","events_url":"https://api.github.com/users/brunal/events{/privacy}","received_events_url":"https://api.github.com/users/brunal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-18T17:59:10Z","updated_at":"2016-08-19T07:27:13Z","closed_at":"2016-08-19T06:48:16Z","pull_request":{"url":"https://api.github.com/repos/Pipoupi/thankfulbot/pulls/2","html_url":"https://github.com/Pipoupi/thankfulbot/pull/2","diff_url":"https://github.com/Pipoupi/thankfulbot/pull/2.diff","patch_url":"https://github.com/Pipoupi/thankfulbot/pull/2.patch"},"body":"My mistake — load_from_file has to be called...\r\nAlso make it a class method\r\n\r\nDésolé pour l'erreur.\r\nJ'ai également rendu la méthode statique (@classmethod, et \"self\" → \"cls\"), ce qui est pratique pour faire des constructeurs « alternatifs ». Je crée l'instance à la fin avec cls(<données chargées>)."},"comment":{"url":"https://api.github.com/repos/Pipoupi/thankfulbot/issues/comments/240947812","html_url":"https://github.com/Pipoupi/thankfulbot/pull/2#issuecomment-240947812","issue_url":"https://api.github.com/repos/Pipoupi/thankfulbot/issues/2","id":240947812,"user":{"login":"Pipoupi","id":6475852,"avatar_url":"https://avatars.githubusercontent.com/u/6475852?v=3","gravatar_id":"","url":"https://api.github.com/users/Pipoupi","html_url":"https://github.com/Pipoupi","followers_url":"https://api.github.com/users/Pipoupi/followers","following_url":"https://api.github.com/users/Pipoupi/following{/other_user}","gists_url":"https://api.github.com/users/Pipoupi/gists{/gist_id}","starred_url":"https://api.github.com/users/Pipoupi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pipoupi/subscriptions","organizations_url":"https://api.github.com/users/Pipoupi/orgs","repos_url":"https://api.github.com/users/Pipoupi/repos","events_url":"https://api.github.com/users/Pipoupi/events{/privacy}","received_events_url":"https://api.github.com/users/Pipoupi/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T07:27:13Z","updated_at":"2016-08-19T07:27:13Z","body":"Hey merci pour ton ajout. Je fais face à quelques erreurs pour lesquelles je suis totalement paumée au niveau de la gestion du fichier.\r\nTout d'abord `_filename` n'est pas global, je l'ai donc remonté et ajouté le global au début de la classe. L'erreur suivante est une erreur globale sur PostsDone. J'ai essayé de le changer en posts_replied_to et en ajoutant une variable global mais cela ne change rien.\r\nJe vais tenter de debugger pour comprendre. Pendant ce temps, j'ai créé une autre branche pour ne pas toucher à ton travail"}}
{"actor":{"display_login":"Pipoupi"}}