{"comment":{"url":"https://api.github.com/repos/divinites/oauth-mail/comments/11120727","html_url":"https://github.com/divinites/oauth-mail/commit/9541c49489185c424550b3602133eee147941853#commitcomment-11120727","id":11120727,"user":{"login":"divinites","id":7761537,"avatar_url":"https://avatars.githubusercontent.com/u/7761537?v=3","gravatar_id":"","url":"https://api.github.com/users/divinites","html_url":"https://github.com/divinites","followers_url":"https://api.github.com/users/divinites/followers","following_url":"https://api.github.com/users/divinites/following{/other_user}","gists_url":"https://api.github.com/users/divinites/gists{/gist_id}","starred_url":"https://api.github.com/users/divinites/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divinites/subscriptions","organizations_url":"https://api.github.com/users/divinites/orgs","repos_url":"https://api.github.com/users/divinites/repos","events_url":"https://api.github.com/users/divinites/events{/privacy}","received_events_url":"https://api.github.com/users/divinites/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"9541c49489185c424550b3602133eee147941853","created_at":"2015-05-09T20:56:37Z","updated_at":"2015-05-09T20:56:37Z","body":"Hi, I am very sorry for that. It seems that inside sublime, globals()['__builtins__']['__package__’] does not work. I have implemented your solution, re-write the oauth2mail class with oauthlib-request library inside sublime. I have fully tested with windows mails and gmails. It works fine.\n\nbest wishes —T.W. \n\n\n> 在 2015年5月9日，下午6:25，FichteFoll <notifications@github.com> 写道：\n> \n> Did you actually test this? globals()['__builtins__']['__package__'] is just None for me.\n> \n> Insetad, it should be _SYNTAX_PATH = \"Packages/%s/mail.tmLanguage\" % __package__\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/divinites/oauth-mail/commit/9541c49489185c424550b3602133eee147941853#commitcomment-11120148>.\n> \n\n"}}