{"action":"created","comment":{"url":"https://api.github.com/repos/fniephaus/alfred-gmail/pulls/comments/112831782","pull_request_review_id":34177538,"id":112831782,"diff_hunk":"@@ -16,8 +16,7 @@\n WF = Workflow()\n HP = HTMLParser()\n EMAIL_LIST = dict((x, []) for x in config.SYSTEM_LABELS.keys())\n-FIELDS = \"\"\"'messages/id,messages/threadId,messages/labelIds,messages/snippet,\\","path":"src/gmail_refresh.py","position":4,"original_position":4,"commit_id":"d54a5e203093b169c64806734eeb23f96d7937e3","original_commit_id":"d54a5e203093b169c64806734eeb23f96d7937e3","user":{"login":"fniephaus","id":2368856,"avatar_url":"https://avatars1.githubusercontent.com/u/2368856?v=3","gravatar_id":"","url":"https://api.github.com/users/fniephaus","html_url":"https://github.com/fniephaus","followers_url":"https://api.github.com/users/fniephaus/followers","following_url":"https://api.github.com/users/fniephaus/following{/other_user}","gists_url":"https://api.github.com/users/fniephaus/gists{/gist_id}","starred_url":"https://api.github.com/users/fniephaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fniephaus/subscriptions","organizations_url":"https://api.github.com/users/fniephaus/orgs","repos_url":"https://api.github.com/users/fniephaus/repos","events_url":"https://api.github.com/users/fniephaus/events{/privacy}","received_events_url":"https://api.github.com/users/fniephaus/received_events","type":"User","site_admin":false},"body":"Oh, I left the single quotes, that's the problem! :(","created_at":"2017-04-23T11:46:16Z","updated_at":"2017-04-23T11:46:16Z","html_url":"https://github.com/fniephaus/alfred-gmail/pull/19#discussion_r112831782","pull_request_url":"https://api.github.com/repos/fniephaus/alfred-gmail/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/fniephaus/alfred-gmail/pulls/comments/112831782"},"html":{"href":"https://github.com/fniephaus/alfred-gmail/pull/19#discussion_r112831782"},"pull_request":{"href":"https://api.github.com/repos/fniephaus/alfred-gmail/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/fniephaus/alfred-gmail/pulls/19","id":117145184,"html_url":"https://github.com/fniephaus/alfred-gmail/pull/19","diff_url":"https://github.com/fniephaus/alfred-gmail/pull/19.diff","patch_url":"https://github.com/fniephaus/alfred-gmail/pull/19.patch","issue_url":"https://api.github.com/repos/fniephaus/alfred-gmail/issues/19","number":19,"state":"open","locked":false,"title":"Fix string literal issue in gmail_refresh","user":{"login":"sepehr","id":23576,"avatar_url":"https://avatars3.githubusercontent.com/u/23576?v=3","gravatar_id":"","url":"https://api.github.com/users/sepehr","html_url":"https://github.com/sepehr","followers_url":"https://api.github.com/users/sepehr/followers","following_url":"https://api.github.com/users/sepehr/following{/other_user}","gists_url":"https://api.github.com/users/sepehr/gists{/gist_id}","starred_url":"https://api.github.com/users/sepehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sepehr/subscriptions","organizations_url":"https://api.github.com/users/sepehr/orgs","repos_url":"https://api.github.com/users/sepehr/repos","events_url":"https://api.github.com/users/sepehr/events{/privacy}","received_events_url":"https://api.github.com/users/sepehr/received_events","type":"User","site_admin":false},"body":"Seems like that there's an issue with the `FIELDS` string literal. I'm getting _\"No mails found!\"_ message no matter what. With this fix, it's backed to normal. \r\n\r\nTo test the functionality, please make sure you restart Alfred and delete the Gmail workflow cache file at `~/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.fniephaus.gmail/gmail_inbox.cpickle`.","created_at":"2017-04-23T11:10:29Z","updated_at":"2017-04-23T11:46:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1abe0dba9348f4250bca06c03ac79e89e892160","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fniephaus/alfred-gmail/pulls/19/commits","review_comments_url":"https://api.github.com/repos/fniephaus/alfred-gmail/pulls/19/comments","review_comment_url":"https://api.github.com/repos/fniephaus/alfred-gmail/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fniephaus/alfred-gmail/issues/19/comments","statuses_url":"https://api.github.com/repos/fniephaus/alfred-gmail/statuses/d54a5e203093b169c64806734eeb23f96d7937e3","head":{"label":"sepehr:master","ref":"master","sha":"d54a5e203093b169c64806734eeb23f96d7937e3","user":{"login":"sepehr","id":23576,"avatar_url":"https://avatars3.githubusercontent.com/u/23576?v=3","gravatar_id":"","url":"https://api.github.com/users/sepehr","html_url":"https://github.com/sepehr","followers_url":"https://api.github.com/users/sepehr/followers","following_url":"https://api.github.com/users/sepehr/following{/other_user}","gists_url":"https://api.github.com/users/sepehr/gists{/gist_id}","starred_url":"https://api.github.com/users/sepehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sepehr/subscriptions","organizations_url":"https://api.github.com/users/sepehr/orgs","repos_url":"https://api.github.com/users/sepehr/repos","events_url":"https://api.github.com/users/sepehr/events{/privacy}","received_events_url":"https://api.github.com/users/sepehr/received_events","type":"User","site_admin":false},"repo":{"id":89135793,"name":"alfred-gmail","full_name":"sepehr/alfred-gmail","owner":{"login":"sepehr","id":23576,"avatar_url":"https://avatars3.githubusercontent.com/u/23576?v=3","gravatar_id":"","url":"https://api.github.com/users/sepehr","html_url":"https://github.com/sepehr","followers_url":"https://api.github.com/users/sepehr/followers","following_url":"https://api.github.com/users/sepehr/following{/other_user}","gists_url":"https://api.github.com/users/sepehr/gists{/gist_id}","starred_url":"https://api.github.com/users/sepehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sepehr/subscriptions","organizations_url":"https://api.github.com/users/sepehr/orgs","repos_url":"https://api.github.com/users/sepehr/repos","events_url":"https://api.github.com/users/sepehr/events{/privacy}","received_events_url":"https://api.github.com/users/sepehr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sepehr/alfred-gmail","description":"Manage your Gmail inbox with Alfred","fork":true,"url":"https://api.github.com/repos/sepehr/alfred-gmail","forks_url":"https://api.github.com/repos/sepehr/alfred-gmail/forks","keys_url":"https://api.github.com/repos/sepehr/alfred-gmail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sepehr/alfred-gmail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sepehr/alfred-gmail/teams","hooks_url":"https://api.github.com/repos/sepehr/alfred-gmail/hooks","issue_events_url":"https://api.github.com/repos/sepehr/alfred-gmail/issues/events{/number}","events_url":"https://api.github.com/repos/sepehr/alfred-gmail/events","assignees_url":"https://api.github.com/repos/sepehr/alfred-gmail/assignees{/user}","branches_url":"https://api.github.com/repos/sepehr/alfred-gmail/branches{/branch}","tags_url":"https://api.github.com/repos/sepehr/alfred-gmail/tags","blobs_url":"https://api.github.com/repos/sepehr/alfred-gmail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sepehr/alfred-gmail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sepehr/alfred-gmail/git/refs{/sha}","trees_url":"https://api.github.com/repos/sepehr/alfred-gmail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sepehr/alfred-gmail/statuses/{sha}","languages_url":"https://api.github.com/repos/sepehr/alfred-gmail/languages","stargazers_url":"https://api.github.com/repos/sepehr/alfred-gmail/stargazers","contributors_url":"https://api.github.com/repos/sepehr/alfred-gmail/contributors","subscribers_url":"https://api.github.com/repos/sepehr/alfred-gmail/subscribers","subscription_url":"https://api.github.com/repos/sepehr/alfred-gmail/subscription","commits_url":"https://api.github.com/repos/sepehr/alfred-gmail/commits{/sha}","git_commits_url":"https://api.github.com/repos/sepehr/alfred-gmail/git/commits{/sha}","comments_url":"https://api.github.com/repos/sepehr/alfred-gmail/comments{/number}","issue_comment_url":"https://api.github.com/repos/sepehr/alfred-gmail/issues/comments{/number}","contents_url":"https://api.github.com/repos/sepehr/alfred-gmail/contents/{+path}","compare_url":"https://api.github.com/repos/sepehr/alfred-gmail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sepehr/alfred-gmail/merges","archive_url":"https://api.github.com/repos/sepehr/alfred-gmail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sepehr/alfred-gmail/downloads","issues_url":"https://api.github.com/repos/sepehr/alfred-gmail/issues{/number}","pulls_url":"https://api.github.com/repos/sepehr/alfred-gmail/pulls{/number}","milestones_url":"https://api.github.com/repos/sepehr/alfred-gmail/milestones{/number}","notifications_url":"https://api.github.com/repos/sepehr/alfred-gmail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sepehr/alfred-gmail/labels{/name}","releases_url":"https://api.github.com/repos/sepehr/alfred-gmail/releases{/id}","deployments_url":"https://api.github.com/repos/sepehr/alfred-gmail/deployments","created_at":"2017-04-23T11:07:37Z","updated_at":"2017-04-23T11:07:39Z","pushed_at":"2017-04-23T11:07:56Z","git_url":"git://github.com/sepehr/alfred-gmail.git","ssh_url":"git@github.com:sepehr/alfred-gmail.git","clone_url":"https://github.com/sepehr/alfred-gmail.git","svn_url":"https://github.com/sepehr/alfred-gmail","homepage":"","size":912,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fniephaus:master","ref":"master","sha":"798ae766eddacb76f99dcd8844bd3cb73f247c1d","user":{"login":"fniephaus","id":2368856,"avatar_url":"https://avatars1.githubusercontent.com/u/2368856?v=3","gravatar_id":"","url":"https://api.github.com/users/fniephaus","html_url":"https://github.com/fniephaus","followers_url":"https://api.github.com/users/fniephaus/followers","following_url":"https://api.github.com/users/fniephaus/following{/other_user}","gists_url":"https://api.github.com/users/fniephaus/gists{/gist_id}","starred_url":"https://api.github.com/users/fniephaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fniephaus/subscriptions","organizations_url":"https://api.github.com/users/fniephaus/orgs","repos_url":"https://api.github.com/users/fniephaus/repos","events_url":"https://api.github.com/users/fniephaus/events{/privacy}","received_events_url":"https://api.github.com/users/fniephaus/received_events","type":"User","site_admin":false},"repo":{"id":22925335,"name":"alfred-gmail","full_name":"fniephaus/alfred-gmail","owner":{"login":"fniephaus","id":2368856,"avatar_url":"https://avatars1.githubusercontent.com/u/2368856?v=3","gravatar_id":"","url":"https://api.github.com/users/fniephaus","html_url":"https://github.com/fniephaus","followers_url":"https://api.github.com/users/fniephaus/followers","following_url":"https://api.github.com/users/fniephaus/following{/other_user}","gists_url":"https://api.github.com/users/fniephaus/gists{/gist_id}","starred_url":"https://api.github.com/users/fniephaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fniephaus/subscriptions","organizations_url":"https://api.github.com/users/fniephaus/orgs","repos_url":"https://api.github.com/users/fniephaus/repos","events_url":"https://api.github.com/users/fniephaus/events{/privacy}","received_events_url":"https://api.github.com/users/fniephaus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fniephaus/alfred-gmail","description":"Manage your Gmail inbox with Alfred","fork":false,"url":"https://api.github.com/repos/fniephaus/alfred-gmail","forks_url":"https://api.github.com/repos/fniephaus/alfred-gmail/forks","keys_url":"https://api.github.com/repos/fniephaus/alfred-gmail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fniephaus/alfred-gmail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fniephaus/alfred-gmail/teams","hooks_url":"https://api.github.com/repos/fniephaus/alfred-gmail/hooks","issue_events_url":"https://api.github.com/repos/fniephaus/alfred-gmail/issues/events{/number}","events_url":"https://api.github.com/repos/fniephaus/alfred-gmail/events","assignees_url":"https://api.github.com/repos/fniephaus/alfred-gmail/assignees{/user}","branches_url":"https://api.github.com/repos/fniephaus/alfred-gmail/branches{/branch}","tags_url":"https://api.github.com/repos/fniephaus/alfred-gmail/tags","blobs_url":"https://api.github.com/repos/fniephaus/alfred-gmail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fniephaus/alfred-gmail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fniephaus/alfred-gmail/git/refs{/sha}","trees_url":"https://api.github.com/repos/fniephaus/alfred-gmail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fniephaus/alfred-gmail/statuses/{sha}","languages_url":"https://api.github.com/repos/fniephaus/alfred-gmail/languages","stargazers_url":"https://api.github.com/repos/fniephaus/alfred-gmail/stargazers","contributors_url":"https://api.github.com/repos/fniephaus/alfred-gmail/contributors","subscribers_url":"https://api.github.com/repos/fniephaus/alfred-gmail/subscribers","subscription_url":"https://api.github.com/repos/fniephaus/alfred-gmail/subscription","commits_url":"https://api.github.com/repos/fniephaus/alfred-gmail/commits{/sha}","git_commits_url":"https://api.github.com/repos/fniephaus/alfred-gmail/git/commits{/sha}","comments_url":"https://api.github.com/repos/fniephaus/alfred-gmail/comments{/number}","issue_comment_url":"https://api.github.com/repos/fniephaus/alfred-gmail/issues/comments{/number}","contents_url":"https://api.github.com/repos/fniephaus/alfred-gmail/contents/{+path}","compare_url":"https://api.github.com/repos/fniephaus/alfred-gmail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fniephaus/alfred-gmail/merges","archive_url":"https://api.github.com/repos/fniephaus/alfred-gmail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fniephaus/alfred-gmail/downloads","issues_url":"https://api.github.com/repos/fniephaus/alfred-gmail/issues{/number}","pulls_url":"https://api.github.com/repos/fniephaus/alfred-gmail/pulls{/number}","milestones_url":"https://api.github.com/repos/fniephaus/alfred-gmail/milestones{/number}","notifications_url":"https://api.github.com/repos/fniephaus/alfred-gmail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fniephaus/alfred-gmail/labels{/name}","releases_url":"https://api.github.com/repos/fniephaus/alfred-gmail/releases{/id}","deployments_url":"https://api.github.com/repos/fniephaus/alfred-gmail/deployments","created_at":"2014-08-13T17:53:04Z","updated_at":"2017-04-16T08:39:58Z","pushed_at":"2017-04-23T11:10:29Z","git_url":"git://github.com/fniephaus/alfred-gmail.git","ssh_url":"git@github.com:fniephaus/alfred-gmail.git","clone_url":"https://github.com/fniephaus/alfred-gmail.git","svn_url":"https://github.com/fniephaus/alfred-gmail","homepage":"","size":912,"stargazers_count":42,"watchers_count":42,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":8,"forks":5,"open_issues":8,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fniephaus/alfred-gmail/pulls/19"},"html":{"href":"https://github.com/fniephaus/alfred-gmail/pull/19"},"issue":{"href":"https://api.github.com/repos/fniephaus/alfred-gmail/issues/19"},"comments":{"href":"https://api.github.com/repos/fniephaus/alfred-gmail/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/fniephaus/alfred-gmail/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/fniephaus/alfred-gmail/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fniephaus/alfred-gmail/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/fniephaus/alfred-gmail/statuses/d54a5e203093b169c64806734eeb23f96d7937e3"}}}}
{"actor":{"display_login":"fniephaus"}}