{"action":"opened","issue":{"url":"https://api.github.com/repos/smarthall/python-lifx-sdk/issues/1","labels_url":"https://api.github.com/repos/smarthall/python-lifx-sdk/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/smarthall/python-lifx-sdk/issues/1/comments","events_url":"https://api.github.com/repos/smarthall/python-lifx-sdk/issues/1/events","html_url":"https://github.com/smarthall/python-lifx-sdk/issues/1","id":94515029,"number":1,"title":"One small error noticed!","user":{"login":"rasputin303","id":12986896,"avatar_url":"https://avatars.githubusercontent.com/u/12986896?v=3","gravatar_id":"","url":"https://api.github.com/users/rasputin303","html_url":"https://github.com/rasputin303","followers_url":"https://api.github.com/users/rasputin303/followers","following_url":"https://api.github.com/users/rasputin303/following{/other_user}","gists_url":"https://api.github.com/users/rasputin303/gists{/gist_id}","starred_url":"https://api.github.com/users/rasputin303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasputin303/subscriptions","organizations_url":"https://api.github.com/users/rasputin303/orgs","repos_url":"https://api.github.com/users/rasputin303/repos","events_url":"https://api.github.com/users/rasputin303/events{/privacy}","received_events_url":"https://api.github.com/users/rasputin303/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-11T23:06:50Z","updated_at":"2015-07-11T23:06:50Z","closed_at":null,"body":"In line 415:\r\n\r\n```Python\r\npayload_size = frame_address_struct.size - payload_start\r\n```\r\n\r\nShould be:\r\n\r\n```Python\r\npayload_size = frame_header_struct.size - payload_start\r\n```\r\n\r\nOtherwise it crashes if you try to parse a message type that isn't in the messages dictionary."}}