Skip to content

Commit 3357dcd

Browse files
Spec 26859: Build content reporting
-- Fix incorrect swapping of return codes
1 parent 88ad04c commit 3357dcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labkey/unsupported/messageboard.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,6 @@ def postMessage(server_context, messageTitle, messageBody, renderAs, container_p
9595
except SSLError as e:
9696
print("There was problem while attempting to submit the message to " + str(e.geturl()) + ". The HTTP response code was " + str(e.getcode()))
9797
print("The HTTP client error was: "+ format(e))
98-
return(1)
98+
return(0)
9999

100-
return(0)
100+
return(1)

0 commit comments

Comments
 (0)