Enumerate

main
Bob Mottram 2021-01-09 23:38:04 +00:00
parent fcacd440d4
commit 57e3a7b6e8
1 changed files with 3 additions and 2 deletions

View File

@ -219,8 +219,9 @@ def getPersonBox(baseDir: str, session, wfRequest: {},
}
if not wfRequest.get('errors'):
if len(wfRequest.items()) == 1:
wfRequest = wfRequest.items()[0]
print('wfRequest changed to ' + str(wfRequest))
for wfkey, wf in wfRequest.items():
wfRequest = wf
print('wfRequest changed to ' + str(wfRequest))
personUrl = getUserUrl(wfRequest, sourceId)
else:
if nickname == 'dev':