We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47b2285 commit 61ac110Copy full SHA for 61ac110
ghapi/auth.py
@@ -36,7 +36,7 @@ class GhDeviceAuth(GetAttrBase):
36
def __init__(self, client_id=_def_clientid, *scopes):
37
url = 'https://github.com/login/device/code'
38
self.client_id = client_id
39
- self.params = parse_qs(urlread(url, client_id=client_id, scope=scope_str(scopes)))
+ self.params = parse_qs(urlread(url, client_id=client_id, scope=scope_str(*scopes)))
40
41
def _getattr(self,v): return v[0]
42
0 commit comments