mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
Minor fixes to showReport (#452)
* Fix create project to handle Google change * Handle newlines in app name Don’t output name/value for name == u'accounts:authorized_apps’, apps are listed later
This commit is contained in:
@@ -991,12 +991,13 @@ def showReport():
|
||||
app = {}
|
||||
for an_item in subitem:
|
||||
if an_item == u'client_name':
|
||||
app[u'name'] = u'App: %s' % subitem[an_item]
|
||||
app[u'name'] = u'App: %s' % subitem[an_item].replace(u'\n', u'\\n')
|
||||
elif an_item == u'num_users':
|
||||
app[u'value'] = u'%s users' % subitem[an_item]
|
||||
elif an_item == u'client_id':
|
||||
app[u'client_id'] = subitem[an_item]
|
||||
auth_apps.append(app)
|
||||
continue
|
||||
else:
|
||||
values = []
|
||||
for subitem in item[u'msgValue']:
|
||||
|
||||
Reference in New Issue
Block a user