Fixed bug in gam create chromeprofilecommand

This commit is contained in:
Ross Scroggs
2025-07-14 07:41:05 -07:00
parent b50d92404f
commit c0cbddc93d
3 changed files with 9 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
"""
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
__version__ = '7.13.01'
__version__ = '7.13.02'
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
#pylint: disable=wrong-import-position
@@ -25749,7 +25749,9 @@ def doCreateChromeProfileCommand():
FJQC = FormatJSONQuoteChar()
while Cmd.ArgumentsRemaining():
myarg = getArgument()
if myarg == 'clearcache':
if _getChromeProfileNameParameters(myarg, parameters):
pass
elif myarg == 'clearcache':
body['payload']['clearCache'] = getBoolean()
elif myarg == 'clearcookies':
body['payload']['clearCookies'] = getBoolean()