{"action":"opened","issue":{"url":"https://api.github.com/repos/StuyDev/v1/issues/18","repository_url":"https://api.github.com/repos/StuyDev/v1","labels_url":"https://api.github.com/repos/StuyDev/v1/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/StuyDev/v1/issues/18/comments","events_url":"https://api.github.com/repos/StuyDev/v1/issues/18/events","html_url":"https://github.com/StuyDev/v1/issues/18","id":381969458,"node_id":"MDU6SXNzdWUzODE5Njk0NTg=","number":18,"title":"bug (lesson w/ zero questions)","user":{"login":"wu-rymd","id":39542508,"node_id":"MDQ6VXNlcjM5NTQyNTA4","avatar_url":"https://avatars2.githubusercontent.com/u/39542508?v=4","gravatar_id":"","url":"https://api.github.com/users/wu-rymd","html_url":"https://github.com/wu-rymd","followers_url":"https://api.github.com/users/wu-rymd/followers","following_url":"https://api.github.com/users/wu-rymd/following{/other_user}","gists_url":"https://api.github.com/users/wu-rymd/gists{/gist_id}","starred_url":"https://api.github.com/users/wu-rymd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wu-rymd/subscriptions","organizations_url":"https://api.github.com/users/wu-rymd/orgs","repos_url":"https://api.github.com/users/wu-rymd/repos","events_url":"https://api.github.com/users/wu-rymd/events{/privacy}","received_events_url":"https://api.github.com/users/wu-rymd/received_events","type":"User","site_admin":false},"labels":[{"id":985398519,"node_id":"MDU6TGFiZWw5ODUzOTg1MTk=","url":"https://api.github.com/repos/StuyDev/v1/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":1022324039,"node_id":"MDU6TGFiZWwxMDIyMzI0MDM5","url":"https://api.github.com/repos/StuyDev/v1/labels/later","name":"later","color":"f29179","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-18T15:14:00Z","updated_at":"2018-11-18T15:14:00Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**steps to reproduce**: \r\n- create a lesson with no questions \r\n- go to dashboard, view lesson, click the submit button\r\n**leads to an internal server error page** \r\n\r\n**reason**:\r\n```\r\nFile \"/Users/raymondwu/Documents/+ StuyDev/v1/app/routes.py\", line 330, in check_questions\r\nprogress = (numcorrect / len(lesson.questions)) * 100,\r\nZeroDivisionError: float division by zero\r\n```"}}
{"actor":{"display_login":"wu-rymd"}}