Skip to content

Commit bf3d676

Browse files
authored
Fix ability to define scopes
1 parent 69e3495 commit bf3d676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02_auth.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
" def __init__(self, client_id=_def_clientid, *scopes):\n",
127127
" url = 'https://github.com/login/device/code'\n",
128128
" self.client_id = client_id\n",
129-
" self.params = parse_qs(urlread(url, client_id=client_id, scope=scope_str(scopes)))\n",
129+
" self.params = parse_qs(urlread(url, client_id=client_id, scope=scope_str(*scopes)))\n",
130130
"\n",
131131
" def _getattr(self,v): return v[0]"
132132
]

0 commit comments

Comments
 (0)