Skip to content

Commit 61ac110

Browse files
committed
add code from notebook gen
1 parent 47b2285 commit 61ac110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghapi/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class GhDeviceAuth(GetAttrBase):
3636
def __init__(self, client_id=_def_clientid, *scopes):
3737
url = 'https://github.com/login/device/code'
3838
self.client_id = client_id
39-
self.params = parse_qs(urlread(url, client_id=client_id, scope=scope_str(scopes)))
39+
self.params = parse_qs(urlread(url, client_id=client_id, scope=scope_str(*scopes)))
4040

4141
def _getattr(self,v): return v[0]
4242

0 commit comments

Comments
 (0)