From 727a100f814cf677ad5ee0819c522b46de0c722c Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Fri, 21 Jul 2023 13:51:19 -0700 Subject: [PATCH] Fix bug in gam oauth create --- src/gam/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gam/__init__.py b/src/gam/__init__.py index c16fbd7f..3dca8fa3 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -10465,6 +10465,8 @@ def doOAuthCreate(): invalidChoiceExit(uscope, API.getClientScopesURLs(GC.Values[GC.TODRIVE_CLIENTACCESS]), True) else: unknownArgumentExit() + if len(scopes) == 0: + scopes = None doOAuthRequest(scopes, login_hint) def exitIfNoOauth2Txt():