mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-09 06:03:35 +00:00
Handle UTF8 user name in show drivefileacl
This commit is contained in:
@ -3238,7 +3238,7 @@ def showDriveFileACL(users):
|
|||||||
feed = callGAPI(service=drive.permissions(), function=u'list', fileId=fileId)
|
feed = callGAPI(service=drive.permissions(), function=u'list', fileId=fileId)
|
||||||
for permission in feed[u'items']:
|
for permission in feed[u'items']:
|
||||||
try:
|
try:
|
||||||
print permission[u'name']
|
print convertUTF8(permission[u'name'])
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
for key in permission:
|
for key in permission:
|
||||||
|
Reference in New Issue
Block a user