Try with no domain

master
Bob Mottram 2019-09-01 12:59:40 +01:00
parent a662ffa2a2
commit fb5528e8f7
1 changed files with 1 additions and 1 deletions

View File

@ -2217,7 +2217,7 @@ def htmlProfileAfterSearch(baseDir: str,path: str,httpPrefix: str, \
return None return None
asHeader = {'Accept': 'application/activity+json; profile="https://www.w3.org/ns/activitystreams"'} asHeader = {'Accept': 'application/activity+json; profile="https://www.w3.org/ns/activitystreams"'}
personUrl = getUserUrl(wf) personUrl = getUserUrl(wf)
profileJson = getJson(session,personUrl,asHeader,None,projectVersion,httpPrefix,domain) profileJson = getJson(session,personUrl,asHeader,None,projectVersion,httpPrefix,None)
if not profileJson: if not profileJson:
if debug: if debug:
print('DEBUG: No actor returned from '+personUrl) print('DEBUG: No actor returned from '+personUrl)