master
Bob Mottram 2019-08-26 12:24:41 +01:00
parent 5561d7e317
commit 83668aff9d
1 changed files with 1 additions and 1 deletions

View File

@ -87,9 +87,9 @@ def postJsonString(session,postJsonStr: str, \
postResult = session.post(url = inboxUrl, data = postJsonStr, headers=headers)
if postResult:
print(str(postResult))
if 'not found' in postResult.text:
print('WARN: Failed to post to '+inboxUrl)
print(postResult.text)
return None
return postResult.text