From 1f3f23a4f8466055b2bf6cfed1683f93aff3e437 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Sat, 18 Jan 2020 07:26:19 -0800 Subject: [PATCH] Undocument admincreated, fix coding issue (#1078) --- src/GamCommands.txt | 2 +- src/gapi/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GamCommands.txt b/src/GamCommands.txt index 3933e9a3..f934cefb 100644 --- a/src/GamCommands.txt +++ b/src/GamCommands.txt @@ -1079,7 +1079,7 @@ gam print mobile [todrive] [(query )|(queries )] [ fields ] [delimiter ] [appslimit ] [listlimit ] gam create group * -gam update group [admincreated ] [email ] * +gam update group [email ] * gam update group add [owner|manager|member] [notsuspended|suspended] [allmail|daily|digest|none|nomail] gam update group delete|remove [owner|manager|member] gam update group sync [owner|manager|member] [notsuspended|suspended] [allmail|daily|digest|none|nomail] diff --git a/src/gapi/__init__.py b/src/gapi/__init__.py index ca0ee685..9bb780f5 100644 --- a/src/gapi/__init__.py +++ b/src/gapi/__init__.py @@ -126,7 +126,7 @@ def call(service, GM_Globals[GM_CURRENT_API_USER], str(e))) return None except ValueError as e: - if service._http.cache is not None: + if hasattr(service._http, 'cache') and service._http.cache is not None: service._http.cache = None continue controlflow.system_error_exit(4, str(e))