diff --git a/Scripts/server_bugzilla_api.gd b/Scripts/server_bugzilla_api.gd index 95eab4b..142bc30 100644 --- a/Scripts/server_bugzilla_api.gd +++ b/Scripts/server_bugzilla_api.gd @@ -237,8 +237,7 @@ func __create_header_data(content_length:int = -1) -> Array: func __validate_server_response(_response:Variant) -> int: # If the response has a message field, make the assumption that this is # because the response was an error code. - if (_response.has("error") and _response["error"] == true) or \ - _response.has("message"): + if (_response.has("error") and _response["error"] == true) or _response.has("message"): var error_data : BugbotErrorData = BugbotErrorData.new() error_data.message = _response["message"] printerr(error_data.message)