use webrowser module to open URIs (had some difficulty with LaunchDefaultBrowser on OS X)

This commit is contained in:
blitzmann
2015-10-25 14:46:24 -04:00
parent 8f08f8efb8
commit 056e961ccc
2 changed files with 5 additions and 4 deletions

View File

@@ -216,7 +216,7 @@ class EVE(APIConnection):
return "%s/authorize?response_type=%s&redirect_uri=%s&client_id=%s%s%s" % (
self._oauth_endpoint,
grant_type,
quote(self.redirect_uri, safe=''),
self.redirect_uri,
self.client_id,
"&scope=%s" % ' '.join(s) if scopes else '',
"&state=%s" % state if state else ''