{"action":"closed","issue":{"url":"https://api.github.com/repos/klahnakoski/SpotManager/issues/10","labels_url":"https://api.github.com/repos/klahnakoski/SpotManager/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/klahnakoski/SpotManager/issues/10/comments","events_url":"https://api.github.com/repos/klahnakoski/SpotManager/issues/10/events","html_url":"https://github.com/klahnakoski/SpotManager/issues/10","id":76740546,"number":10,"title":"price_lookup incorrect?","user":{"login":"lexelby","id":4446653,"avatar_url":"https://avatars.githubusercontent.com/u/4446653?v=3","gravatar_id":"","url":"https://api.github.com/users/lexelby","html_url":"https://github.com/lexelby","followers_url":"https://api.github.com/users/lexelby/followers","following_url":"https://api.github.com/users/lexelby/following{/other_user}","gists_url":"https://api.github.com/users/lexelby/gists{/gist_id}","starred_url":"https://api.github.com/users/lexelby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexelby/subscriptions","organizations_url":"https://api.github.com/users/lexelby/orgs","repos_url":"https://api.github.com/users/lexelby/repos","events_url":"https://api.github.com/users/lexelby/events{/privacy}","received_events_url":"https://api.github.com/users/lexelby/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-15T14:18:37Z","updated_at":"2015-05-28T15:45:51Z","closed_at":"2015-05-28T15:45:51Z","body":"I think my multi-AZ stuff broke this line:\r\n\r\nhttps://github.com/klahnakoski/SpotManager/blob/dev/spot/spot_manager.py#L436\r\n\r\nIt looks like in the case that we have data for multiple AZs, the last one in the list wins due to how python handles duplicate keys in a dict comprehension.  That results in this oddness:\r\n\r\n`Total Exposure: $0.3542/hour (current price: $1.0400/hour)`\r\n\r\nFortunately that \"current price\" figure isn't actually used for calculations, so this is a cosmetic issue (I think)."}}