{"action":"created","issue":{"url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/issues/94","repository_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers","labels_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/issues/94/comments","events_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/issues/94/events","html_url":"https://github.com/pez2001/razer_chroma_drivers/pull/94","id":136934656,"number":94,"title":"Quick fix to previous GUI changes.","user":{"login":"lah7","id":13032135,"avatar_url":"https://avatars.githubusercontent.com/u/13032135?v=3","gravatar_id":"","url":"https://api.github.com/users/lah7","html_url":"https://github.com/lah7","followers_url":"https://api.github.com/users/lah7/followers","following_url":"https://api.github.com/users/lah7/following{/other_user}","gists_url":"https://api.github.com/users/lah7/gists{/gist_id}","starred_url":"https://api.github.com/users/lah7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lah7/subscriptions","organizations_url":"https://api.github.com/users/lah7/orgs","repos_url":"https://api.github.com/users/lah7/repos","events_url":"https://api.github.com/users/lah7/events{/privacy}","received_events_url":"https://api.github.com/users/lah7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-27T15:56:26Z","updated_at":"2016-02-27T23:26:47Z","closed_at":"2016-02-27T17:11:32Z","pull_request":{"url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/pulls/94","html_url":"https://github.com/pez2001/razer_chroma_drivers/pull/94","diff_url":"https://github.com/pez2001/razer_chroma_drivers/pull/94.diff","patch_url":"https://github.com/pez2001/razer_chroma_drivers/pull/94.patch"},"body":"My bad. This fix is for my last set of changes (#90) by correcting the start-up code for the tray - which automatically turned macro settings on, due to my misunderstanding of `bool()` (which was always returning true).\r\n\r\nI wondered why the hot keys and sleep key stopped working, that happens when macro keys are activated."},"comment":{"url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/issues/comments/189746667","html_url":"https://github.com/pez2001/razer_chroma_drivers/pull/94#issuecomment-189746667","issue_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/issues/94","id":189746667,"user":{"login":"lah7","id":13032135,"avatar_url":"https://avatars.githubusercontent.com/u/13032135?v=3","gravatar_id":"","url":"https://api.github.com/users/lah7","html_url":"https://github.com/lah7","followers_url":"https://api.github.com/users/lah7/followers","following_url":"https://api.github.com/users/lah7/following{/other_user}","gists_url":"https://api.github.com/users/lah7/gists{/gist_id}","starred_url":"https://api.github.com/users/lah7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lah7/subscriptions","organizations_url":"https://api.github.com/users/lah7/orgs","repos_url":"https://api.github.com/users/lah7/repos","events_url":"https://api.github.com/users/lah7/events{/privacy}","received_events_url":"https://api.github.com/users/lah7/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T23:26:47Z","updated_at":"2016-02-27T23:26:47Z","body":"Originally, that was the plan, and setting `index[test] = True` would save as a boolean `true` to JSON. Due to how these on/off states got passed around, in some places they end up as a string (possibly JS → Python and/or via Python → JS `execute_script`), so it was easier to _cut corners_ and simply use strings throughout. JavaScript's `true` and Python's `True` introduce some problems.\r\n\r\nThe preferences module (and commands?) would need additional code / checks for converting booleans if desired later, but I saw little gain at this point."}}