Don't test for truth

master
Bob Mottram 2019-08-26 12:54:57 +01:00
parent 4b9db09263
commit 53337dd009
1 changed files with 0 additions and 2 deletions

View File

@ -86,8 +86,6 @@ def postJsonString(session,postJsonStr: str, \
return None
postResult = session.post(url = inboxUrl, data = postJsonStr, headers=headers)
if not postResult:
return None
postResultCode=str(postResult)
if '[' in postResultCode and ']' in postResultCode:
postResultCode=postResultCode.split('[')[1]