Fixed bug in gam <UserTypeEntity> print sheet #1936

This commit is contained in:
Ross Scroggs
2026-07-02 07:19:32 -07:00
parent 503976e62d
commit d69a450817
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
7.46.05
Fixed bug in `gam <UserTypeEntity> print sheet` where an extra line of output
was displayed before the CSV data.
7.46.04 7.46.04
Added the following command to transfer secondary calendar ownership. Added the following command to transfer secondary calendar ownership.

View File

@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
""" """
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>' __author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
__version__ = '7.46.04' __version__ = '7.46.05'
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)' __license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
# pylint: disable=wrong-import-position # pylint: disable=wrong-import-position
@@ -72773,7 +72773,7 @@ def infoPrintShowSheets(users):
i, count, users = getEntityArgument(users) i, count, users = getEntityArgument(users)
for user in users: for user in users:
i += 1 i += 1
user, sheet, jcount = _validateUserGetSpreadsheetIDs(user, i, count, spreadsheetIdEntity, not FJQC.formatJSON) user, sheet, jcount = _validateUserGetSpreadsheetIDs(user, i, count, spreadsheetIdEntity, not csvPF and not FJQC.formatJSON)
if jcount == 0: if jcount == 0:
continue continue
if showSheetNames: if showSheetNames: